diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-04-24 21:40:42 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-04-24 21:40:42 +0200 |
| commit | f0370798af5e0efe635a621777d05466945f880d (patch) | |
| tree | addb763ce83e0c46ae8c327b8eb698fc35fc3e33 /lua/plugins/lsp.lua | |
| parent | 026ed2e0228f54eada41d14c6d243d16712a9586 (diff) | |
| download | dotfiles-f0370798af5e0efe635a621777d05466945f880d.tar.gz dotfiles-f0370798af5e0efe635a621777d05466945f880d.zip | |
Add commented out eslint_opts just in case
Diffstat (limited to 'lua/plugins/lsp.lua')
| -rw-r--r-- | lua/plugins/lsp.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 5c19586..8fbc03f 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -227,6 +227,14 @@ end local builtins = null_ls.builtins local augroup = vim.api.nvim_create_augroup("LspFormatting", {}) +--local eslint_opts = { +-- -- condition = function(utils) +-- -- return utils.root_has_file ".eslintrc.js" or utils.root_has_file ".eslintrc" or utils.root_has_file ".eslintrc.json" +-- -- end, +-- -- diagnostics_format = "#{m} [#{c}]", +-- prefer_local = true, +--} + null_ls.setup { sources = { -- Diagnostics |
