diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-06-19 09:07:54 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-06-19 09:07:54 +0200 |
| commit | 10f73a6481c890d556c3f5d7a15081a950d2a653 (patch) | |
| tree | 3f80eecac7f6db1920a1526d70e61d59b5b8b04b /lua | |
| parent | 7a98ab3b5034c5f7a29f1b461348338f6ffe3b4a (diff) | |
| download | nvim-conf-10f73a6481c890d556c3f5d7a15081a950d2a653.tar.gz nvim-conf-10f73a6481c890d556c3f5d7a15081a950d2a653.zip | |
update
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/alpha/lsp/null-ls.lua | 14 | ||||
| -rw-r--r-- | lua/alpha/lsp/tools.lua | 6 | ||||
| -rw-r--r-- | lua/plugins/orgmode.lua | 1 |
3 files changed, 12 insertions, 9 deletions
diff --git a/lua/alpha/lsp/null-ls.lua b/lua/alpha/lsp/null-ls.lua index 931d55a..6b9edc8 100644 --- a/lua/alpha/lsp/null-ls.lua +++ b/lua/alpha/lsp/null-ls.lua @@ -19,16 +19,16 @@ null_ls.setup { null_ls.builtins.diagnostics.phpstan.with { to_temp_file = false, method = null_ls.methods.DIAGNOSTICS_ON_SAVE, - command = "./bin/phpstan", - condition = function () - return vim.fn.findfile("bin/phpstan") ~= "" - end + -- command = "./bin/phpstan", + -- condition = function () + -- return vim.fn.findfile("bin/phpstan") ~= "" + -- end }, null_ls.builtins.diagnostics.phpcs.with { method = null_ls.methods.DIAGNOSTICS_ON_SAVE, - condition = function(utils) - return utils.root_has_file "phpcs.xml" - end, + -- condition = function(utils) + -- return utils.root_has_file "phpcs.xml" + -- end, }, null_ls.builtins.formatting.pint, }, diff --git a/lua/alpha/lsp/tools.lua b/lua/alpha/lsp/tools.lua index 4eb40b3..7919521 100644 --- a/lua/alpha/lsp/tools.lua +++ b/lua/alpha/lsp/tools.lua @@ -1,6 +1,8 @@ return { + "codelldb", "go-debug-adapter", - "php-debug-adapter", "js-debug-adapter", - "codelldb", + "php-debug-adapter", + "phpcs", + "phpstan", } diff --git a/lua/plugins/orgmode.lua b/lua/plugins/orgmode.lua index 7b6e6a1..e9f8667 100644 --- a/lua/plugins/orgmode.lua +++ b/lua/plugins/orgmode.lua @@ -1,5 +1,6 @@ return { "nvim-orgmode/orgmode", + enabled = false, keys = { { "<Leader>oa" }, { "<Leader>oc" }, |