diff options
Diffstat (limited to 'lua/pml68/lsp.lua')
| -rw-r--r-- | lua/pml68/lsp.lua | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/lua/pml68/lsp.lua b/lua/pml68/lsp.lua deleted file mode 100644 index 6736e26..0000000 --- a/lua/pml68/lsp.lua +++ /dev/null @@ -1,38 +0,0 @@ -local servers = { - -- "asm_lsp", - "html", - "ts_ls", - "cssls", - "svelte", - "bashls", - "clangd", - "pyright", - "emmet_language_server", - "jsonls", - "rust_analyzer", - "kotlin_lsp", - "lua_ls", - "glsl_analyzer", - "csharp_ls", - "gopls", - "unocss", -} - -vim.api.nvim_create_autocmd({ "BufEnter" }, { - pattern = { "build.sh", "*.subpackage.sh", "PKGBUILD", "*.install", - "makepkg.conf", "*.ebuild", "*.eclass", "color.map", "make.conf" }, - callback = function() - vim.lsp.start({ - name = "termux", - cmd = { "termux-language-server" } - }) - end, -}) - -vim.lsp.config('*', { - on_attach = function(client, bufnr) - require("workspace-diagnostics").populate_workspace_diagnostics(client, bufnr) - end -}) - -vim.lsp.enable(servers) |
