diff options
Diffstat (limited to 'users/sils/neovim/default.nix')
-rw-r--r-- | users/sils/neovim/default.nix | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/users/sils/neovim/default.nix b/users/sils/neovim/default.nix index 2ac065c..c9e5ed5 100644 --- a/users/sils/neovim/default.nix +++ b/users/sils/neovim/default.nix @@ -5,34 +5,7 @@ viAlias = true; vimAlias = true; vimdiffAlias = true; - extraLuaConfig = '' - local set = vim.opt; - - set.autoindent = true; - set.cindent = true; - set.incsearch = true; - set.ignorecase = true; - set.smartcase = true; - set.showmatch = true; - set.hlsearch = false; - - set.mouse = ""; - set.number = true; - set.relativenumber = true; - set.shell = zsh; - - set.spell = true; - set.spelllang = "en_us,de_de"; - set.spelloptions = "camel"; - - set.syntax = "ON"; - - set.shiftwidth = 2; - set.tabstop = 2; - set.expandtab = true; - set.so = 999; - - ''; + extraLuaConfig = builtins.readFile ./lua/options.lua; extraConfig = '' inoremap jj <esc> vnoremap jj <esc> |