From e4a676d7c8f1e0c54079eeeab62da6c3bd6ad491 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 1 Oct 2023 08:06:28 +0200 Subject: [PATCH] chore(nvim): remove whitespace in sql buftype --- nvimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvimrc b/nvimrc index 6a7ae2e..89c9ca2 100644 --- a/nvimrc +++ b/nvimrc @@ -105,7 +105,7 @@ augroup vimrc " https://github.com/fatih/vim-go/issues/1757#issuecomment-565130503 autocmd FileType qf if (getwininfo(win_getid())[0].loclist != 1) | wincmd J | endif " Remove trailing whitespace pre-save: - autocmd FileType go,ruby,markdown,rust,python,markdown,lua autocmd BufWritePre silent! %s/\s\+$//e + autocmd FileType go,ruby,markdown,rust,python,markdown,lua,sql autocmd BufWritePre silent! %s/\s\+$//e augroup end " Don't remember the current directory for a given file: