diff options
Diffstat (limited to '.config/nvim/ftdetect')
| -rw-r--r-- | .config/nvim/ftdetect/nasm.vim | 2 | ||||
| -rw-r--r-- | .config/nvim/ftdetect/sh.vim | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/ftdetect/nasm.vim b/.config/nvim/ftdetect/nasm.vim new file mode 100644 index 0000000..c15ca61 --- /dev/null +++ b/.config/nvim/ftdetect/nasm.vim @@ -0,0 +1,2 @@ +" My default assember is the netwide assembler +autocmd BufRead *.asm !set ft=nasm diff --git a/.config/nvim/ftdetect/sh.vim b/.config/nvim/ftdetect/sh.vim new file mode 100644 index 0000000..650104a --- /dev/null +++ b/.config/nvim/ftdetect/sh.vim @@ -0,0 +1,2 @@ +" Set tmp-file default type to `sh` (used when editing command line) +autocmd BufNewFile,BufRead /tmp/[a-zA-Z0-9]\+/ setlocal ft=sh |
