summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/configs/language-servers.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/custom/configs/language-servers.lua')
-rw-r--r--.config/nvim/lua/custom/configs/language-servers.lua27
1 files changed, 14 insertions, 13 deletions
diff --git a/.config/nvim/lua/custom/configs/language-servers.lua b/.config/nvim/lua/custom/configs/language-servers.lua
index 4fd3fff..1165994 100644
--- a/.config/nvim/lua/custom/configs/language-servers.lua
+++ b/.config/nvim/lua/custom/configs/language-servers.lua
@@ -1,19 +1,20 @@
-- NOTE: A list of language servers (and potentially their config)
-- Accepts either true to enable, false to disable or a table with settings
return {
- lua_ls = {
- settings = {
- diagnostics = {
- globals = { 'vim' },
- },
- workspace = {
- library = {
- [vim.fn.expand('$VIMRUNTIME/lua')] = true,
- [vim.fn.stdpath('config') .. '/lua'] = true,
- },
- },
- },
- }, -- lua
+ -- lua_ls = {
+ -- settings = {
+ -- diagnostics = {
+ -- globals = { 'vim' },
+ -- },
+ -- workspace = {
+ -- library = {
+ -- [vim.fn.expand('$VIMRUNTIME/lua')] = true,
+ -- [vim.fn.stdpath('config') .. '/lua'] = true,
+ -- },
+ -- },
+ -- },
+ -- }, -- lua
+ lua_ls = true, -- lua
clangd = true, -- C/C++
gradle_ls = true, -- java package manager
jdtls = true, -- java eclipse lsp