diff options
Diffstat (limited to 'home-modules')
| -rw-r--r-- | home-modules/apps/nvim/default.nix | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/home-modules/apps/nvim/default.nix b/home-modules/apps/nvim/default.nix index 7aad816..ff541b8 100644 --- a/home-modules/apps/nvim/default.nix +++ b/home-modules/apps/nvim/default.nix @@ -20,16 +20,25 @@ in }; programs.neovim = { - enable = false; + enable = true; defaultEditor = true; viAlias = true; vimAlias = true; vimdiffAlias = true; - withPython3 = false; - withNodeJs = false; - withRuby = false; + withPython3 = true; + withNodeJs = true; + withRuby = true; # coc.enable = false; + + initLua = lib.mkMerge [ + '' + -- Load in the real config, if exists + local ok, _ pcall (require, "entry") + if not ok then + vim.notify("lua/entry.lua not found, no config to load", vim.log.levels.DEBUG) + end'' + ]; }; home.file = lib.mkIf config.homeapps.nvim.lsp { @@ -53,10 +62,10 @@ in ts_ls vue_ls ])) - [ - neovim - neovim-node-client - ] + # [ + # neovim + # neovim-node-client + # ] ]; }; } |
