Update nvim config
This commit is contained in:
parent
081b578a22
commit
fee2dd90cb
6
init.lua
6
init.lua
@ -89,6 +89,8 @@ require('lazy').setup({
|
||||
-- "gc" to comment visual regions/lines
|
||||
{ 'numToStr/Comment.nvim', opts = {} },
|
||||
|
||||
{ "nvim-treesitter/nvim-treesitter-context", opts = {} },
|
||||
|
||||
-- Fuzzy Finder (files, lsp, etc)
|
||||
{ 'nvim-telescope/telescope.nvim', branch = '0.1.x', dependencies = { 'nvim-lua/plenary.nvim' } },
|
||||
|
||||
@ -348,17 +350,21 @@ end
|
||||
local servers = {
|
||||
-- clangd = {},
|
||||
-- hls = {},
|
||||
gopls = {
|
||||
gopls = {
|
||||
usePlaceholders = true,
|
||||
analyses = {
|
||||
unusedparams = true,
|
||||
}
|
||||
},
|
||||
},
|
||||
html = { provideFormatter = false },
|
||||
cssls = {},
|
||||
pyright = {},
|
||||
vtsls = {},
|
||||
|
||||
nil_ls = {},
|
||||
|
||||
jdtls = {
|
||||
java = {
|
||||
configuration = {
|
||||
|
@ -12,6 +12,7 @@ return {
|
||||
require("null-ls").builtins.formatting.golines,
|
||||
require("null-ls").builtins.diagnostics.golangci_lint,
|
||||
require("null-ls").builtins.formatting.google_java_format,
|
||||
require("null-ls").builtins.formatting.nixpkgs_fmt,
|
||||
}
|
||||
}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user