From 15a6065ec0442a29e1746321f90f6fef6b654f69 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Wed, 22 May 2024 20:25:03 +0200 Subject: [PATCH] nvim: push latest state --- .config/nvim/init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 3c77740..5eecf16 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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!