From f795cd649b68e04b391ad8b44bc6d277db8f7474 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Fri, 9 Oct 2020 11:54:01 -0400 Subject: [PATCH] Add vim plugin for fasm syntax --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimrc b/vimrc index fda61c7..5b5c377 100644 --- a/vimrc +++ b/vimrc @@ -184,6 +184,7 @@ Plug 'fatih/vim-go' " Go Plug 'rust-lang/rust.vim' " Rust Plug 'jdonaldson/vaxe' " Haxe Plug 'pprovost/vim-ps1' " PowerShell +Plug 'fedorenchik/fasm.vim' " Flat Assembler " Clojure -- Disabled since I'm not doing any Clojure work atm. "Plug 'tpope/vim-classpath' " For Java @@ -346,6 +347,9 @@ augroup campoCmds " Properly indent schemes (scheme, racket, etc). autocmd bufread,bufnewfile *.{lisp,scm,rkt} setlocal equalprg=scmindent.rkt + " Fasm indent; uses the fedorenchik/fasm.vim plugin. + autocmd BufReadPre *.asm let g:asmsyntax = "fasm" + " Auto reload VIM when settings changed. autocmd BufWritePost .vimrc so $MYVIMRC autocmd BufWritePost *.vim so $MYVIMRC