Add more neovim stuff
This commit is contained in:
parent
1970352b59
commit
6a73ba3321
@ -8,7 +8,8 @@
|
|||||||
vim-fugitive
|
vim-fugitive
|
||||||
undotree
|
undotree
|
||||||
telescope-nvim
|
telescope-nvim
|
||||||
lsp-zero-nvim
|
nvim-cmp
|
||||||
|
nvim-lspconfig
|
||||||
(nvim-treesitter.withPlugins (p: [
|
(nvim-treesitter.withPlugins (p: [
|
||||||
p.tree-sitter-nix
|
p.tree-sitter-nix
|
||||||
p.tree-sitter-go
|
p.tree-sitter-go
|
||||||
@ -20,14 +21,22 @@
|
|||||||
];
|
];
|
||||||
extraLuaConfig = ''
|
extraLuaConfig = ''
|
||||||
${builtins.readFile ./options.lua}
|
${builtins.readFile ./options.lua}
|
||||||
|
${builtins.readFile ./plugins.lua}
|
||||||
|
${builtins.readFile ./keybinds.lua}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# nix stuff
|
# nix stuff
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
nil
|
|
||||||
statix
|
statix
|
||||||
|
|
||||||
|
# LSPs
|
||||||
|
gopls
|
||||||
|
nodePackages.pyright
|
||||||
|
nodePackages.typescript-language-server
|
||||||
|
nil
|
||||||
|
yaml-language-server
|
||||||
];
|
];
|
||||||
home.sessionVariables.EDITOR = "nvim";
|
home.sessionVariables.EDITOR = "nvim";
|
||||||
}
|
}
|
||||||
|
1
home/editor/neovim/keybinds.lua
Normal file
1
home/editor/neovim/keybinds.lua
Normal file
@ -0,0 +1 @@
|
|||||||
|
-- Keybinds
|
@ -1,3 +1,4 @@
|
|||||||
|
-- Options
|
||||||
vim.g.mapleader = ' '
|
vim.g.mapleader = ' '
|
||||||
vim.g.maplocalleader = ' '
|
vim.g.maplocalleader = ' '
|
||||||
|
|
||||||
|
1
home/editor/neovim/plugins.lua
Normal file
1
home/editor/neovim/plugins.lua
Normal file
@ -0,0 +1 @@
|
|||||||
|
-- Plugins
|
Loading…
Reference in New Issue
Block a user