Update nvim config
This commit is contained in:
parent
081b578a22
commit
fee2dd90cb
20
init.lua
20
init.lua
@ -52,7 +52,7 @@ require('lazy').setup({
|
|||||||
|
|
||||||
|
|
||||||
-- Useful plugin to show you pending keybinds.
|
-- Useful plugin to show you pending keybinds.
|
||||||
{ 'folke/which-key.nvim', opts = {} },
|
{ 'folke/which-key.nvim', opts = {} },
|
||||||
{
|
{
|
||||||
-- Adds git related signs to the gutter, as well as utilities for managing changes
|
-- Adds git related signs to the gutter, as well as utilities for managing changes
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
@ -87,10 +87,12 @@ require('lazy').setup({
|
|||||||
},
|
},
|
||||||
|
|
||||||
-- "gc" to comment visual regions/lines
|
-- "gc" to comment visual regions/lines
|
||||||
{ 'numToStr/Comment.nvim', opts = {} },
|
{ 'numToStr/Comment.nvim', opts = {} },
|
||||||
|
|
||||||
|
{ "nvim-treesitter/nvim-treesitter-context", opts = {} },
|
||||||
|
|
||||||
-- Fuzzy Finder (files, lsp, etc)
|
-- Fuzzy Finder (files, lsp, etc)
|
||||||
{ 'nvim-telescope/telescope.nvim', branch = '0.1.x', dependencies = { 'nvim-lua/plenary.nvim' } },
|
{ 'nvim-telescope/telescope.nvim', branch = '0.1.x', dependencies = { 'nvim-lua/plenary.nvim' } },
|
||||||
|
|
||||||
{
|
{
|
||||||
'nvim-telescope/telescope-fzf-native.nvim',
|
'nvim-telescope/telescope-fzf-native.nvim',
|
||||||
@ -349,16 +351,20 @@ local servers = {
|
|||||||
-- clangd = {},
|
-- clangd = {},
|
||||||
-- hls = {},
|
-- hls = {},
|
||||||
gopls = {
|
gopls = {
|
||||||
usePlaceholders = true,
|
gopls = {
|
||||||
analyses = {
|
usePlaceholders = true,
|
||||||
unusedparams = true,
|
analyses = {
|
||||||
}
|
unusedparams = true,
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
html = { provideFormatter = false },
|
html = { provideFormatter = false },
|
||||||
cssls = {},
|
cssls = {},
|
||||||
pyright = {},
|
pyright = {},
|
||||||
vtsls = {},
|
vtsls = {},
|
||||||
|
|
||||||
|
nil_ls = {},
|
||||||
|
|
||||||
jdtls = {
|
jdtls = {
|
||||||
java = {
|
java = {
|
||||||
configuration = {
|
configuration = {
|
||||||
|
@ -12,6 +12,7 @@ return {
|
|||||||
require("null-ls").builtins.formatting.golines,
|
require("null-ls").builtins.formatting.golines,
|
||||||
require("null-ls").builtins.diagnostics.golangci_lint,
|
require("null-ls").builtins.diagnostics.golangci_lint,
|
||||||
require("null-ls").builtins.formatting.google_java_format,
|
require("null-ls").builtins.formatting.google_java_format,
|
||||||
|
require("null-ls").builtins.formatting.nixpkgs_fmt,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user