summaryrefslogtreecommitdiffstats
path: root/modules/desktop/apps
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-07-23 08:30:32 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-07-23 08:30:32 -0400
commitbe9e0fc14d17540e4719b4107c4a06c6cde0ad06 (patch)
tree10f5158ce75755178564b3cd894300b9126bbc48 /modules/desktop/apps
parente4781a2c772c1bd6802e65847629f2248ba37336 (diff)
parenta9030912b24fa23793d08f22b8ee82f99488bf2a (diff)
downloadnix-config-be9e0fc14d17540e4719b4107c4a06c6cde0ad06.tar.gz
nix-config-be9e0fc14d17540e4719b4107c4a06c6cde0ad06.tar.bz2
nix-config-be9e0fc14d17540e4719b4107c4a06c6cde0ad06.zip
Merge branch 'master' of ssh://git.jonsantmyer.com:49/home/git/nix-config
Diffstat (limited to 'modules/desktop/apps')
-rw-r--r--modules/desktop/apps/editors/neovim.nix47
1 files changed, 25 insertions, 22 deletions
diff --git a/modules/desktop/apps/editors/neovim.nix b/modules/desktop/apps/editors/neovim.nix
index bc3ff86..f0040e0 100644
--- a/modules/desktop/apps/editors/neovim.nix
+++ b/modules/desktop/apps/editors/neovim.nix
@@ -1,12 +1,10 @@
{
config,
- options,
lib,
pkgs,
...
}: let
nvimConf = config.modules.desktop.apps.editors.neovim;
- configDir = config.nixosConfig.configDir;
in {
options.modules.desktop.apps.editors.neovim = {
enable = lib.mkOption {
@@ -24,10 +22,9 @@ in {
};
home.packages = [
- pkgs.ccls
- pkgs.nodePackages.bash-language-server
+ pkgs.clang-tools
+ pkgs.nil
pkgs.texlab
- pkgs.sumneko-lua-language-server
];
home.manager.programs.neovim = {
@@ -40,31 +37,37 @@ in {
luafile /etc/nixos/config/nvim/lua/settings.lua
luafile /etc/nixos/config/nvim/lua/lsp.lua
'';
+ coc.enable = true;
+ coc.settings = {
+ "suggest.noselect" = true;
+ "suggest.enablePreview" = true;
+ "suggest.enablePreselect" = false;
+ "suggest.disableKind" = true;
+ "inlayHint.enable" = false;
+
+ "nix.enableLanguageServer" = true;
+ "nix.serverPath" = "nil";
+ };
plugins = with pkgs.vimPlugins; [
nvim-web-devicons
gitsigns-nvim
- nvim-tree-lua
catppuccin-nvim
+ vim-commentary
+ vim-fugitive
+
+ popup-nvim
+ plenary-nvim
+ telescope-nvim
+
nvim-lspconfig
- nvim-cmp
- cmp-cmdline
- cmp-nvim-lsp
- cmp-buffer
- cmp-path
- cmp-vsnip
- cmp-treesitter
-
- vim-nix
- vim-vsnip
- nvim-treesitter.withAllGrammars
- neoformat
+ nvim-treesitter nvim-treesitter.withAllGrammars
- bufferline-nvim
- lualine-nvim
- alpha-nvim
- ];
+ coc-clangd
+ coc-lua
+ coc-spell-checker
+ ];
};
};
}