Improve nvim a bit
This commit is contained in:
parent
0d5c3a0cc8
commit
e06aaeaf71
|
@ -27,10 +27,25 @@
|
|||
'';
|
||||
}
|
||||
vim-surround
|
||||
vim-commentary
|
||||
nvim-treesitter
|
||||
nvim-treesitter-parsers.nu
|
||||
nvim-treesitter-parsers.nix
|
||||
nvim-nu
|
||||
];
|
||||
extraLuaConfig = ''
|
||||
vim.o.termguicolors = true
|
||||
'';
|
||||
extraConfig = ''
|
||||
" Show relative line numbers
|
||||
set number
|
||||
set rnu
|
||||
" 2 spaces for tabs
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
" Keep 4 lines off the edge of the screen when scrolling
|
||||
set scrolloff=4
|
||||
'';
|
||||
withPython3 = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue