mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
added go support; trimmed unused plugins
This commit is contained in:
parent
0392105f94
commit
44b6333bd9
1 changed files with 11 additions and 9 deletions
|
@ -137,7 +137,6 @@ in
|
||||||
key = "<leader>d";
|
key = "<leader>d";
|
||||||
action = "\"_d";
|
action = "\"_d";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
# leader+p delete the selection to the void, then paste
|
# leader+p delete the selection to the void, then paste
|
||||||
mode = "x";
|
mode = "x";
|
||||||
|
@ -148,10 +147,16 @@ in
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
|
|
||||||
|
lsp.enable = true;
|
||||||
|
|
||||||
|
lsp.servers = {
|
||||||
|
gopls.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
nvim-tree = {
|
nvim-tree = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openOnSetup = true;
|
openOnSetup = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nvim-autopairs = {
|
nvim-autopairs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -166,15 +171,10 @@ in
|
||||||
"rust"
|
"rust"
|
||||||
"toml"
|
"toml"
|
||||||
"lua"
|
"lua"
|
||||||
|
"go"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
rainbow-delimiters.enable = true;
|
rainbow-delimiters.enable = true;
|
||||||
treesitter-refactor = {
|
|
||||||
enable = true;
|
|
||||||
#highlightCurrentScope.enable = true;
|
|
||||||
navigation.enable = true;
|
|
||||||
smartRename.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
comment-nvim = {
|
comment-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -200,9 +200,11 @@ in
|
||||||
# Read settings here: https://github.com/mfussenegger/nvim-dap#Usage
|
# Read settings here: https://github.com/mfussenegger/nvim-dap#Usage
|
||||||
# See :help dap.txt, :help dap-mapping and :help dap-api.
|
# See :help dap.txt, :help dap-mapping and :help dap-api.
|
||||||
cmp-dap.enable = true;
|
cmp-dap.enable = true;
|
||||||
cmp-buffer.enable = true;
|
# method signature with current arguement hints)
|
||||||
cmp-nvim-lsp-signature-help.enable = true;
|
cmp-nvim-lsp-signature-help.enable = true;
|
||||||
|
# lua source autocomplete
|
||||||
cmp-nvim-lua.enable = true;
|
cmp-nvim-lua.enable = true;
|
||||||
|
# filesystem paths
|
||||||
cmp-path.enable = true;
|
cmp-path.enable = true;
|
||||||
|
|
||||||
presence-nvim.enable = true;
|
presence-nvim.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue