From 826e9ce523734f3a71ee413a5c2e62ea0c02ceae Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sun, 14 Aug 2022 15:54:51 -0700 Subject: [PATCH] nvim: remove bad aucmds --- .config/nvim/lua/blake/settings.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.config/nvim/lua/blake/settings.lua b/.config/nvim/lua/blake/settings.lua index 1de538d..2193af5 100644 --- a/.config/nvim/lua/blake/settings.lua +++ b/.config/nvim/lua/blake/settings.lua @@ -58,13 +58,8 @@ command! QA qa command! Wqa wqa command! WQa wqa command! WQA wqa - -command! Set set ]] --- Quit even if there are more files to edit (files passed from the command line) -vim.cmd 'au QuitPre * args %' - -- Go to previous file, but faster vim.cmd 'command! P previous' @@ -115,7 +110,7 @@ vim.cmd 'let g:markdown_fenced_languages = [ "bash=sh", "javascript", "cpp=cpp", --- autocmd's --- -- Set comment strings -vim.cmd 'autocmd FileType crontab set commentstring=#%s' +vim.cmd 'autocmd FileType crontab setlocal commentstring=#%s' -- vim.cmd 'autocmd FileType rmd set commentstring=' -- Enable linewrap in markdown files