nvim: push latest state

This commit is contained in:
Alexander Bocken 2024-05-22 20:25:03 +02:00
parent f074a1c74e
commit 15a6065ec0
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -29,6 +29,7 @@ Plug 'pangloss/vim-javascript'
Plug 'evanleck/vim-svelte', {'branch': 'main'}
Plug 'github/copilot.vim',
Plug 'dmadisetti/AirLatex.vim', {'branch': 'main'}
Plug 'nathangrigg/vim-beancount'
call plug#end()
set title
@ -71,7 +72,7 @@ colorscheme nord
""" Autocompile RMarkdown on save if flag is set in file
" Define a function to check for the autocompile flag and compile if present
function! CompileRMarkdown()
let autocompile = search('<\!--\s\+vim:\s\+set\s\+autocompile=true:\s\+-->', 'nW') != 0
let autocompile = search('<\!--\s\+vim:\s\+set\s\+autocompile=true\s\+-->', 'nW') != 0
if autocompile
silent !Rscript -e 'rmarkdown::render("%")'
redraw!