diff options
author | Matt Turner <mattst88@framework.mattst88.com> | 2023-03-06 11:12:20 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2023-03-06 11:18:37 -0500 |
commit | 01204fff758637398ce3a9d2b6ca20038016e45b (patch) | |
tree | ec1e65f28390437a4c6a07cbf6a507304cc1bd8d /nvim/.vimrc | |
parent | e83765747e2f4411189dbae392b5e197fdf8744b (diff) |
Rearrange for better usage with GNU stow
Diffstat (limited to 'nvim/.vimrc')
-rw-r--r-- | nvim/.vimrc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nvim/.vimrc b/nvim/.vimrc new file mode 100644 index 0000000..3aa7046 --- /dev/null +++ b/nvim/.vimrc @@ -0,0 +1,13 @@ +autocmd BufNewFile,BufRead *.frag,*.vert,*.fp,*.vp,*.glsl,*.shader_test set syntax=glsl + +autocmd BufNewFile,BufRead /home/mattst88/projects/mesa/* set expandtab tabstop=8 softtabstop=3 shiftwidth=3 +autocmd BufNewFile,BufRead /home/mattst88/projects/piglit/* set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 +autocmd BufNewFile,BufRead Makefile* set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 +autocmd BufNewFile,BufRead *.mk set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 + +autocmd BufNewFile,BufRead *.py set tabstop=4 softtabstop=4 shiftwidth=4 textwidth=80 smarttab expandtab + +set bg=dark +set modeline +set number relativenumber +set colorcolumn=+0 |