[vim]Clang-format style personnalisation
This commit is contained in:
parent
8fbbcb7c10
commit
da9b09ed58
@ -77,6 +77,9 @@ def main():
|
||||
lines = ['-lines', '%s:%s' % (vim.current.range.start + 1,
|
||||
vim.current.range.end + 1)]
|
||||
|
||||
if vim.eval('exists("g:clang_style")') == '1':
|
||||
style = vim.eval('g:clang_style')
|
||||
|
||||
# Determine the cursor position.
|
||||
cursor = int(vim.eval('line2byte(line("."))+col(".")')) - 2
|
||||
if cursor < 0:
|
||||
|
Loading…
Reference in New Issue
Block a user