Use the .vimrc in dotfiles to configure nvim
This commit is contained in:
parent
f9953c9f98
commit
32d85e97f7
6
.vimrc
6
.vimrc
@ -1,4 +1,5 @@
|
|||||||
" genera editing options
|
" general editing options
|
||||||
|
set noswapfile
|
||||||
set nocompatible
|
set nocompatible
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set expandtab
|
set expandtab
|
||||||
@ -14,6 +15,7 @@ au BufNewFile,BufRead *Makefile,*.mk set noexpandtab
|
|||||||
au BufNewFile,BufRead *.py,*.java set tabstop=2
|
au BufNewFile,BufRead *.py,*.java set tabstop=2
|
||||||
au BufNewFile,BufRead *.app set filetype=erlang
|
au BufNewFile,BufRead *.app set filetype=erlang
|
||||||
au BufNewFile,BufRead .bash_* set filetype=sh
|
au BufNewFile,BufRead .bash_* set filetype=sh
|
||||||
|
au BufNewFile,BufRead *.sil set filetype=tex
|
||||||
au BufNewFile,BufRead *.erl filetype indent off
|
au BufNewFile,BufRead *.erl filetype indent off
|
||||||
au BufNewFile,BufRead *.hrl 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 vimclojure#NailgunClient = "/Users/jwall/bin/ng"
|
||||||
|
|
||||||
let g:erlangFoldSplitFunction=0
|
let g:erlangFoldSplitFunction=0
|
||||||
|
|
||||||
colorscheme desert256
|
|
||||||
|
@ -33,12 +33,7 @@
|
|||||||
programs = with pkgs; {
|
programs = with pkgs; {
|
||||||
neovim.enable = true;
|
neovim.enable = true;
|
||||||
neovim.configure = {
|
neovim.configure = {
|
||||||
customRC = ''
|
customRC = (builtins.readFile ../../.vimrc);
|
||||||
set noswapfile
|
|
||||||
set ts=4
|
|
||||||
set expandtab
|
|
||||||
set autoindent
|
|
||||||
'';
|
|
||||||
packages.myVimPackage = with pkgs.vimPlugins; {
|
packages.myVimPackage = with pkgs.vimPlugins; {
|
||||||
start = [
|
start = [
|
||||||
coc-nvim
|
coc-nvim
|
||||||
@ -91,6 +86,7 @@
|
|||||||
htop
|
htop
|
||||||
colima
|
colima
|
||||||
lima
|
lima
|
||||||
|
google-cloud-sdk
|
||||||
inputs.sile
|
inputs.sile
|
||||||
inputs.runwhen
|
inputs.runwhen
|
||||||
inputs.durnitisp
|
inputs.durnitisp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user