aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-02-05 23:49:54 +0200
committersrdusr <trevorgray@srdusr.com>2023-02-05 23:49:54 +0200
commitef68af709d810e5040076ea8e2f34c88c3761f69 (patch)
treed21de5def6242ef3083d07830b4cd59d97ce17ff
parentfe8ad820545b949b53730a8427a89074dacea500 (diff)
downloaddotfiles-ef68af709d810e5040076ea8e2f34c88c3761f69.tar.gz
dotfiles-ef68af709d810e5040076ea8e2f34c88c3761f69.zip
Commented out pyright and vim-language-server
-rw-r--r--lua/plugins/lsp.lua54
1 files changed, 27 insertions, 27 deletions
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua
index 924db87..ac3cd64 100644
--- a/lua/plugins/lsp.lua
+++ b/lua/plugins/lsp.lua
@@ -148,14 +148,14 @@ else
vim.notify("pylsp not found!", vim.log.levels.WARN, { title = "Server?" })
end
--- if utils.executable('pyright') then
--- lspconfig.pyright.setup{
--- on_attach = custom_attach,
--- capabilities = capabilities
--- }
--- else
--- vim.notify("pyright not found!", vim.log.levels.WARN, {title = 'Server?'})
--- end
+--if utils.executable('pyright') then
+-- lspconfig.pyright.setup{
+-- on_attach = custom_attach,
+-- capabilities = capabilities
+-- }
+--else
+-- vim.notify("pyright not found!", vim.log.levels.WARN, {title = 'Server?'})
+--end
if utils.executable("clangd") then
lspconfig.clangd.setup({
@@ -171,25 +171,25 @@ else
end
-- set up vim-language-server
-if utils.executable("vim-language-server") then
- lspconfig.vimls.setup({
- on_attach = custom_attach,
- flags = {
- debounce_text_changes = 500,
- },
- capabilities = capabilities,
- })
-else
- vim.notify("vim-language-server not found!", vim.log.levels.WARN, { title = "Server?" })
-end
-
--- set up bash-language-server
-if utils.executable("bash-language-server") then
- lspconfig.bashls.setup({
- on_attach = custom_attach,
- capabilities = capabilities,
- })
-end
+--if utils.executable("vim-language-server") then
+-- lspconfig.vimls.setup({
+-- on_attach = custom_attach,
+-- flags = {
+-- debounce_text_changes = 500,
+-- },
+-- capabilities = capabilities,
+-- })
+--else
+-- vim.notify("vim-language-server not found!", vim.log.levels.WARN, { title = "Server?" })
+--end
+--
+---- set up bash-language-server
+--if utils.executable("bash-language-server") then
+-- lspconfig.bashls.setup({
+-- on_attach = custom_attach,
+-- capabilities = capabilities,
+-- })
+--end
if utils.executable("lua-language-server") then
lspconfig.sumneko_lua.setup({