diff --git a/nvim/after/ftplugin/markdown.vim b/nvim/after/ftplugin/markdown.vim index f5408c0..94e958b 100644 --- a/nvim/after/ftplugin/markdown.vim +++ b/nvim/after/ftplugin/markdown.vim @@ -1,11 +1,5 @@ source :h/text.vim -let s:src_file = expand('%') -let s:out_file = s:src_file.'.html' -let &l:makeprg = 'markdown2htmldoc' -for s:arg in get(g:, 'dotfiles_markdown2htmldoc_options', []) - let &l:makeprg .= ' '.shellescape(s:arg) -endfor -let &l:makeprg .= ' -- '.shellescape(s:src_file).' '.shellescape(s:out_file) +let &l:makeprg = 'markdown2htmldoc -- %:S %:S.html' nnoremap Open %.html diff --git a/nvim/after/ftplugin/scss.vim b/nvim/after/ftplugin/scss.vim index 9d5f7f1..db198fe 100644 --- a/nvim/after/ftplugin/scss.vim +++ b/nvim/after/ftplugin/scss.vim @@ -1,9 +1,3 @@ source :h/css.vim -let s:src_file = expand('%') -let s:out_file = s:src_file.'.css' -let &l:makeprg = 'sass' -for s:arg in get(g:, 'dotfiles_dart_sass_options', []) - let &l:makeprg .= ' '.shellescape(s:arg) -endfor -let &l:makeprg .= ' -- '.shellescape(s:src_file).':'.shellescape(s:out_file) +let &l:makeprg = 'sass -- %:S:%:S.css' diff --git a/nvim/plugin/interface.vim b/nvim/plugin/interface.vim index 8e357ce..7e38b1d 100644 --- a/nvim/plugin/interface.vim +++ b/nvim/plugin/interface.vim @@ -139,4 +139,4 @@ endif " }}} -nnoremap make +nnoremap make!