nvim: push latest state
This commit is contained in:
parent
f074a1c74e
commit
15a6065ec0
@ -29,6 +29,7 @@ Plug 'pangloss/vim-javascript'
|
|||||||
Plug 'evanleck/vim-svelte', {'branch': 'main'}
|
Plug 'evanleck/vim-svelte', {'branch': 'main'}
|
||||||
Plug 'github/copilot.vim',
|
Plug 'github/copilot.vim',
|
||||||
Plug 'dmadisetti/AirLatex.vim', {'branch': 'main'}
|
Plug 'dmadisetti/AirLatex.vim', {'branch': 'main'}
|
||||||
|
Plug 'nathangrigg/vim-beancount'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
set title
|
set title
|
||||||
@ -71,7 +72,7 @@ colorscheme nord
|
|||||||
""" Autocompile RMarkdown on save if flag is set in file
|
""" Autocompile RMarkdown on save if flag is set in file
|
||||||
" Define a function to check for the autocompile flag and compile if present
|
" Define a function to check for the autocompile flag and compile if present
|
||||||
function! CompileRMarkdown()
|
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
|
if autocompile
|
||||||
silent !Rscript -e 'rmarkdown::render("%")'
|
silent !Rscript -e 'rmarkdown::render("%")'
|
||||||
redraw!
|
redraw!
|
||||||
|
Loading…
Reference in New Issue
Block a user