globalvariables created for storing formatprg per filetype
This commit is contained in:
parent
1b08973e28
commit
224974123f
1
formatprgdefaults.vim
Normal file
1
formatprgdefaults.vim
Normal file
@ -0,0 +1 @@
|
||||
if !exists(g:formatprg_cs) | let g:formatprg_cs="astyle --mode=cs --style=ansi" | endif
|
@ -1,12 +0,0 @@
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
"Set the formatter name and arguments for this filetype
|
||||
let s:prgname = "astyle"
|
||||
let s:arguments = "--mode=c --style=ansi"
|
||||
|
||||
"Set the formatprg option, if the formatter is installed
|
||||
"globally or in the formatters/ folder
|
||||
call g:FindFormatter(s:prgname, s:arguments)
|
@ -1,12 +0,0 @@
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
"Set the formatter name and arguments for this filetype
|
||||
let s:prgname = "astyle"
|
||||
let s:arguments = "--mode=c --style=ansi"
|
||||
|
||||
"Set the formatprg option, if the formatter is installed
|
||||
"globally or in the formatters/ folder
|
||||
call g:FindFormatter(s:prgname, s:arguments)
|
@ -1,12 +0,0 @@
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
"Set the formatter name and arguments for this filetype
|
||||
let s:prgname = "astyle"
|
||||
let s:arguments = "--mode=cs --style=ansi"
|
||||
|
||||
"Set the formatprg option, if the formatter is installed
|
||||
"globally or in the formatters/ folder
|
||||
call g:FindFormatter(s:prgname, s:arguments)
|
Loading…
Reference in New Issue
Block a user