Use the .vimrc in dotfiles to configure nvim

This commit is contained in:
Jeremy Wall 2022-05-30 11:03:09 -04:00
parent f9953c9f98
commit 32d85e97f7
2 changed files with 5 additions and 9 deletions

6
.vimrc
View File

@ -1,4 +1,5 @@
" genera editing options
" general editing options
set noswapfile
set nocompatible
set tabstop=4
set expandtab
@ -14,6 +15,7 @@ au BufNewFile,BufRead *Makefile,*.mk set noexpandtab
au BufNewFile,BufRead *.py,*.java set tabstop=2
au BufNewFile,BufRead *.app set filetype=erlang
au BufNewFile,BufRead .bash_* set filetype=sh
au BufNewFile,BufRead *.sil set filetype=tex
au BufNewFile,BufRead *.erl filetype indent off
au BufNewFile,BufRead *.hrl filetype indent off
@ -31,5 +33,3 @@ let g:clj_paren_rainbow = 1
let vimclojure#NailgunClient = "/Users/jwall/bin/ng"
let g:erlangFoldSplitFunction=0
colorscheme desert256

View File

@ -33,12 +33,7 @@
programs = with pkgs; {
neovim.enable = true;
neovim.configure = {
customRC = ''
set noswapfile
set ts=4
set expandtab
set autoindent
'';
customRC = (builtins.readFile ../../.vimrc);
packages.myVimPackage = with pkgs.vimPlugins; {
start = [
coc-nvim
@ -91,6 +86,7 @@
htop
colima
lima
google-cloud-sdk
inputs.sile
inputs.runwhen
inputs.durnitisp