diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-09 11:49:01 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-09 11:49:01 +0200 |
commit | af4d6aa3cf5eab6cf555cbb067f8316cca7975bf (patch) | |
tree | 2b9c667247f6af23e6adfbc7069398626dd8f805 /indent | |
parent | ff8c1d76741f148d5f6efb9a57119dcf11afaec6 (diff) | |
download | vim-polyglot-af4d6aa3cf5eab6cf555cbb067f8316cca7975bf.tar.gz vim-polyglot-af4d6aa3cf5eab6cf555cbb067f8316cca7975bf.zip |
Use more modern haxe package, closes #340
Diffstat (limited to 'indent')
-rw-r--r-- | indent/haxe.vim | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/indent/haxe.vim b/indent/haxe.vim new file mode 100644 index 00000000..a8d3a5ff --- /dev/null +++ b/indent/haxe.vim @@ -0,0 +1,19 @@ +if polyglot#init#is_disabled(expand('<sfile>:p'), 'haxe', 'indent/haxe.vim') + finish +endif + +" Language: Haxe +" Maintainer: None! Wanna improve this? +" Last Change: 2007 Jan 22 + +" Only load this indent file when no other was loaded. +if exists("b:did_indent") + finish +endif +let b:did_indent = 1 + +" C indenting is not too bad. +setlocal cindent +setlocal cinoptions+=j1,J1 +setlocal indentkeys=0{,0},0),0],!^F,o,O,e +let b:undo_indent = "setl cin<" |