diff options
author | June McEnroe <june@causal.agency> | 2018-11-23 18:18:32 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-11-23 18:18:32 -0500 |
commit | b0bdfd067154fc49448370ad5d3b5296043784bf (patch) | |
tree | 0f6c7db1006bfebc434493f813103a4a2e85bcaf | |
parent | Replace tableUpdate with tableReplace (diff) | |
download | src-b0bdfd067154fc49448370ad5d3b5296043784bf.tar.gz src-b0bdfd067154fc49448370ad5d3b5296043784bf.zip |
Set default .asm, .h, .sh syntax modes for vim
Diffstat (limited to '')
-rw-r--r-- | home/.config/nvim/init.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index 4fa55841..9297ea64 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -5,13 +5,15 @@ set wildmode=list:longest wildignore=*.o set splitbelow splitright command! W w command! Q q -autocmd BufNewFile,BufRead *.asm,*.mac setfiletype nasm set tabstop=4 shiftwidth=4 shiftround set smartindent cinoptions=l1(sU1m1 set ignorecase smartcase inccommand=nosplit nmap <leader><leader> :nohlsearch<CR> set foldmethod=syntax foldlevel=99 +let asmsyntax = "nasm" +let c_syntax_for_h = 1 +let is_posix = 1 set title laststatus=1 set scrolloff=1 |