summary refs log tree commit diff
path: root/.config/nvim
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2016-07-09 17:15:36 -0400
committerJune McEnroe <june@causal.agency>2016-07-09 17:15:36 -0400
commit0fe845b8f091d4c43e3c8993b8d741ab29479e41 (patch)
tree91714739de3077c0e9ad6e23818ba3a6fcef2846 /.config/nvim
parentHighlight numbers with underscores in NASM (diff)
downloadsrc-0fe845b8f091d4c43e3c8993b8d741ab29479e41.tar.gz
src-0fe845b8f091d4c43e3c8993b8d741ab29479e41.zip
Force ft=nasm for *.asm and *.mac
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 99727ce1..ded27aaf 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -25,4 +25,6 @@ let g:gruvbox_invert_selection = 0
 let g:gruvbox_vert_split = 'bg0'
 colorscheme gruvbox
 
+autocmd BufNewFile,BufRead *.asm,*.mac setf nasm
+
 execute pathogen#infect()