Rmd config changes, still not working right
This commit is contained in:
parent
d71444fb85
commit
e1268836f8
11
vim/.vimrc
11
vim/.vimrc
@ -49,14 +49,15 @@ autocmd WinEnter * call ForceResizeNetrw()
|
|||||||
autocmd BufNew * call ForceResizeNetrw()
|
autocmd BufNew * call ForceResizeNetrw()
|
||||||
|
|
||||||
" R Markdown
|
" R Markdown
|
||||||
|
function Rmarkdown()
|
||||||
|
set filetype=markdown
|
||||||
|
set conceallevel=0
|
||||||
|
let g:markdown_syntax_conceal=0
|
||||||
|
let g:markdown_fenced_languages=['r', 'python', 'html', 'sql', 'bash=sh']
|
||||||
|
endfunction
|
||||||
autocmd BufNewFile,BufReadPost *.Rmd call Rmarkdown()
|
autocmd BufNewFile,BufReadPost *.Rmd call Rmarkdown()
|
||||||
autocmd BufNewFile,BufReadPost *.rmd call Rmarkdown()
|
autocmd BufNewFile,BufReadPost *.rmd call Rmarkdown()
|
||||||
|
|
||||||
function Rmarkdown()
|
|
||||||
set filetype=markdown
|
|
||||||
let g:markdown_syntax_conceal = 0
|
|
||||||
let g:markdown_fenced_languages = ['r', 'python', 'html', 'sql', 'bash=sh']
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
" Transparency
|
" Transparency
|
||||||
hi Normal guibg=NONE ctermbg=NONE
|
hi Normal guibg=NONE ctermbg=NONE
|
||||||
|
@ -84,7 +84,8 @@ let g:UltiSnipsJumpForwardTrigger="<c-b>"
|
|||||||
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
||||||
|
|
||||||
" Whitespace
|
" Whitespace
|
||||||
autocmd BufEnter *[^(.rmd)] EnableStripWhitespaceOnSave
|
autocmd BufEnter *[^(.rmd|.snippets)] EnableStripWhitespaceOnSave
|
||||||
|
autocmd BufEnter *.snippets DisableStripWhitespaceOnSave
|
||||||
|
|
||||||
" Yankstack
|
" Yankstack
|
||||||
let g:yankstack_map_keys = 0
|
let g:yankstack_map_keys = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user