Add more neovim stuff
This commit is contained in:
parent
1970352b59
commit
6a73ba3321
@ -8,7 +8,8 @@
|
||||
vim-fugitive
|
||||
undotree
|
||||
telescope-nvim
|
||||
lsp-zero-nvim
|
||||
nvim-cmp
|
||||
nvim-lspconfig
|
||||
(nvim-treesitter.withPlugins (p: [
|
||||
p.tree-sitter-nix
|
||||
p.tree-sitter-go
|
||||
@ -20,14 +21,22 @@
|
||||
];
|
||||
extraLuaConfig = ''
|
||||
${builtins.readFile ./options.lua}
|
||||
${builtins.readFile ./plugins.lua}
|
||||
${builtins.readFile ./keybinds.lua}
|
||||
'';
|
||||
};
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
# nix stuff
|
||||
nixpkgs-fmt
|
||||
nil
|
||||
statix
|
||||
|
||||
# LSPs
|
||||
gopls
|
||||
nodePackages.pyright
|
||||
nodePackages.typescript-language-server
|
||||
nil
|
||||
yaml-language-server
|
||||
];
|
||||
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.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