Compare commits
2 Commits
05cd9d2e6e
...
248c1f1b21
| Author | SHA1 | Date | |
|---|---|---|---|
|
248c1f1b21
|
|||
|
6222393fc5
|
8
init.lua
8
init.lua
@@ -27,6 +27,9 @@ vim.pack.add({
|
||||
{ src = "https://github.com/terrortylor/nvim-comment" },
|
||||
-- required by nvim-comment
|
||||
{ src = "https://github.com/JoosepAlviste/nvim-ts-context-commentstring" },
|
||||
|
||||
-- java support
|
||||
{ src = "https://github.com/mfussenegger/nvim-jdtls" }
|
||||
})
|
||||
|
||||
require('nvim_comment').setup({
|
||||
@@ -118,7 +121,10 @@ vim.lsp.config('lua_ls', {
|
||||
},
|
||||
}
|
||||
})
|
||||
vim.lsp.enable({ "lua_ls", "gopls", "templ", "tailwindcss" })
|
||||
vim.lsp.config('jdtls', {
|
||||
cmd = { "jdtls", "--jvm-arg=-javaagent:/usr/share/java/lombok/lombok.jar" }
|
||||
})
|
||||
vim.lsp.enable({ "lua_ls", "gopls", "templ", "ts_ls", "tailwindcss", "bashls", "jdtls" })
|
||||
|
||||
-- Enables filtered completions for tailwindcss class names, e.g. "mt-<C-n>".
|
||||
-- Otherwise the completion contains EVERYTHING
|
||||
|
||||
Reference in New Issue
Block a user