1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 11:24:55 +02:00

nvim php: split main file as it starts to get abit big

This commit is contained in:
Henrik Hautakoski 2025-11-17 21:53:06 +01:00
parent 61ef12eff1
commit bb62416c69
7 changed files with 164 additions and 142 deletions

View file

@ -0,0 +1,30 @@
return {
-- 'mfussenegger/nvim-lint',
-- optional = true,
-- opts = {
-- linters = {
-- phpstan = {
-- args = {
-- "analyze",
-- '--error-format=json',
-- '--no-progress',
-- }
-- }
-- },
-- linters_by_ft = {
-- php = { 'phpstan' },
-- },
-- },
-- config = function (_, opts)
-- local lint = require('lint')
-- lint.linters_by_ft = opts.linters_by_ft or {}
-- lint.linters.phpstan.args = opts.linters.phpstan.args
--
-- vim.api.nvim_create_autocmd({ "BufWritePost" }, {
-- callback = function()
-- require('lint').try_lint()
-- end,
-- })
-- end
}