astyle support added (for cs, c, cpp, java)
gitignore file added
This commit is contained in:
parent
189f309f8e
commit
e89907686d
BIN
formatters/phpCB
BIN
formatters/phpCB
Binary file not shown.
@ -1,8 +0,0 @@
|
||||
let &formatexpr="CSSBeautify()"
|
||||
let s:bundleDir = fnamemodify(expand("<sfile>"), ":h:h:h")
|
||||
let g:cssbeautify_file = fnameescape(s:bundleDir."/js-beautify/beautify-css.js")
|
||||
|
||||
let g:cssbeautify = {'indent_size': 4, 'indent_char': ' '}
|
||||
set expandtab
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
@ -1,8 +0,0 @@
|
||||
let &formatexpr="HtmlBeautify()"
|
||||
let s:bundleDir = fnamemodify(expand("<sfile>"), ":h:h:h")
|
||||
let g:htmlbeautify_file = fnameescape(s:bundleDir."/js-beautify/beautify-html.js")
|
||||
|
||||
let g:htmlbeautify = {'indent_size': 2, 'indent_char': ' ', 'max_char': 78, 'brace_style': 'expand', 'unformatted': ['a', 'sub', 'sup', 'b', 'i', 'u']}
|
||||
set expandtab
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
@ -4,6 +4,8 @@ let s:arguments = "-i"
|
||||
|
||||
if executable(s:prgpath)
|
||||
let &formatprg=s:prgpath." ".s:arguments
|
||||
else
|
||||
call g:FindFormatter("js-beautify",s:arguments)
|
||||
endif
|
||||
|
||||
set expandtab
|
||||
|
Loading…
Reference in New Issue
Block a user