Compare commits
No commits in common. "bc1de2d37f6317d9c1670829789c5f9f3228c5a6" and "529867b4757f64290ec2dbe8e3c2674e564ebb51" have entirely different histories.
bc1de2d37f
...
529867b475
@ -4,5 +4,3 @@ syntax region cmakeFunctionBlock start='function\s*(.*)' end='endfunction\s*(.*)
|
||||
syntax region cmakeMacroBlock start='macro\s*(.*)' end='endmacro\s*(.*)' fold transparent keepend
|
||||
syntax region cmakeForeachBlock start='foreach\s*(.*)' end='endforeach\s*(.*)' fold transparent keepend
|
||||
syntax region cmakeWhileBlock start='while\s*(.*)' end='endwhile\s*(.*)' fold transparent keepend
|
||||
|
||||
highlight link cmakeStatement Statement
|
||||
|
@ -13,11 +13,8 @@ syn match markdownCheckboxDelimiter '\[[ x]\]' contained contains=markdownCheckb
|
||||
syn match markdownCheckbox '\s*\* \[[ x]\] ' contains=markdownCheckboxDelimiter,markdownListMarker
|
||||
syn region markdownCheckboxDone start='\s*\* \ze\[x\] ' keepend end='\ze\(\n^\s*\*\|\n^\s*\n\)' contains=markdownCheckbox,@markdownCheckboxDoneInline
|
||||
|
||||
if has('conceal')
|
||||
setlocal conceallevel=0
|
||||
if get(g:, 'markdown_syntax_conceal', 1) == 1
|
||||
let s:concealends = ' concealends'
|
||||
endif
|
||||
if has('conceal') && get(g:, 'markdown_syntax_conceal', 1) == 1
|
||||
let s:concealends = ' concealends'
|
||||
endif
|
||||
exe 'syn region markdownCheckboxItalic matchgroup=markdownCheckboxItalicDelimiter start="\S\@<=\*\|\*\S\@=" end="\S\@<=\*\|\*\S\@=" keepend contains=markdownLineStart,@Spell contained' . s:concealends
|
||||
exe 'syn region markdownCheckboxItalic matchgroup=markdownCheckboxItalicDelimiter start="\S\@<=_\|_\S\@=" end="\S\@<=_\|_\S\@=" keepend contains=markdownLineStart,@Spell contained' . s:concealends
|
||||
@ -50,3 +47,4 @@ hi link markdownCheckboxCodeDelimiter PreProc
|
||||
" yaml frontmatter
|
||||
syn region markdownFrontmatter matchgroup=markdownFrontmatterDelimiter start='\%^---' keepend end='^---' contains=@markdownHighlightyaml
|
||||
hi default link markdownFrontmatterDelimiter Special
|
||||
|
||||
|
@ -1,6 +0,0 @@
|
||||
function! build#dir(dir) abort
|
||||
let l:cwd = getcwd()
|
||||
let $BUILD_DIR = l:cwd.'/'.a:dir
|
||||
let g:ycm_clangd_args = ['--compile-commands-dir='.$BUILD_DIR]
|
||||
YcmRestartServer
|
||||
endfunction
|
@ -159,7 +159,7 @@ if has('gui_running') || &t_Co == 256
|
||||
call s:hi('Label', '69', '', '')
|
||||
call s:hi('Operator', '166', '', '')
|
||||
call s:hi('Keyword', '', '', '')
|
||||
call s:hi('Exception', '69', '', '')
|
||||
call s:hi('Exception', '', '', '')
|
||||
|
||||
call s:hi('PreProc', '102', '', '')
|
||||
call s:hi('Include', '65', '', '')
|
||||
@ -175,7 +175,7 @@ if has('gui_running') || &t_Co == 256
|
||||
call s:hi('Special', '179', '', '')
|
||||
call s:hi('SpecialChar', '', '', '')
|
||||
call s:hi('Tag', '', '', '')
|
||||
call s:hi('Delimiter', '179', '', '')
|
||||
call s:hi('Delimiter', '', '', '')
|
||||
call s:hi('SpecialComment', '246', '', '')
|
||||
call s:hi('Debug', '', '', '')
|
||||
|
||||
|
@ -29,6 +29,3 @@ command! -nargs=+ -complete=file Debug call do#debug(<f-args>)
|
||||
|
||||
" Find all TODO items in the current file and populate the location list
|
||||
command! TodoFile lvimgrep /todo/ %
|
||||
|
||||
" Change build directory
|
||||
command! -nargs=1 -complete=dir BuildDir call build#dir(<f-args>)
|
||||
|
@ -168,11 +168,6 @@ set modeline
|
||||
" Don't redraw during execution macros, registers, commands, etc.
|
||||
set lazyredraw
|
||||
|
||||
" When in diff mode, use the patience algorithm for more readable diffs.
|
||||
if &diff
|
||||
set diffopt+=algorithm:patience
|
||||
endif
|
||||
|
||||
" Allow color schemes to do bright colors without forcing bold
|
||||
if &t_Co == 8 && $TERM !~# '^linux\|^Eterm'
|
||||
set t_Co=16
|
||||
|
Loading…
x
Reference in New Issue
Block a user