mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-13 22:13:50 -05:00
Use more modern haxe package, closes #340
This commit is contained in:
19
indent/haxe.vim
Normal file
19
indent/haxe.vim
Normal file
@@ -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<"
|
||||
Reference in New Issue
Block a user