Rmd config changes, still not working right
This commit is contained in:
parent
d71444fb85
commit
e1268836f8
@ -49,14 +49,15 @@ autocmd WinEnter * call ForceResizeNetrw()
|
||||
autocmd BufNew * call ForceResizeNetrw()
|
||||
|
||||
" R Markdown
|
||||
autocmd BufNewFile,BufReadPost *.Rmd call Rmarkdown()
|
||||
autocmd BufNewFile,BufReadPost *.rmd call Rmarkdown()
|
||||
|
||||
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()
|
||||
|
||||
|
||||
" Transparency
|
||||
hi Normal guibg=NONE ctermbg=NONE
|
||||
|
@ -84,7 +84,8 @@ let g:UltiSnipsJumpForwardTrigger="<c-b>"
|
||||
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
||||
|
||||
" Whitespace
|
||||
autocmd BufEnter *[^(.rmd)] EnableStripWhitespaceOnSave
|
||||
autocmd BufEnter *[^(.rmd|.snippets)] EnableStripWhitespaceOnSave
|
||||
autocmd BufEnter *.snippets DisableStripWhitespaceOnSave
|
||||
|
||||
" Yankstack
|
||||
let g:yankstack_map_keys = 0
|
||||
|
Loading…
Reference in New Issue
Block a user