Rmd config changes, still not working right

This commit is contained in:
Tobias Manske 2018-05-04 20:32:48 +02:00
parent d71444fb85
commit e1268836f8
No known key found for this signature in database
GPG Key ID: 978D99F12D4E041F
2 changed files with 8 additions and 6 deletions

View File

@ -49,14 +49,15 @@ autocmd WinEnter * call ForceResizeNetrw()
autocmd BufNew * call ForceResizeNetrw()
" 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()
function Rmarkdown()
set filetype=markdown
let g:markdown_syntax_conceal = 0
let g:markdown_fenced_languages = ['r', 'python', 'html', 'sql', 'bash=sh']
endfunction
" Transparency
hi Normal guibg=NONE ctermbg=NONE

View File

@ -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