dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | README | LICENSE

commit 421f7dde70ea4772daf78ed1599a8619d7ccc99f (patch)
parent df64d16502bbd9055abe49735ccd9054c7561559
Author: Alex Karle <alex@alexkarle.com>
Date:   Thu, 25 Aug 2022 09:02:15 -0400

nvim: Add spacing settings for SQL, YAML

Been writing some `dbt` code :)

Diffstat:
M.config/nvim/init.lua | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua @@ -16,6 +16,8 @@ vim.opt.linebreak = true -- Space and Tab settings for various filetypes vim.cmd [[autocmd FileType markdown setlocal et sw=4 sts=4 tw=80 ]] vim.cmd [[autocmd FileType python setlocal et sw=4 sts=4]] +vim.cmd [[autocmd FileType sql setlocal et sw=4 sts=4]] +vim.cmd [[autocmd FileType yaml setlocal et sw=2 sts=2]] vim.cmd [[autocmd FileType javascript setlocal et sw=2 sts=2]] vim.cmd [[autocmd FileType typescriptreact setlocal et sw=2 sts=2]] vim.cmd [[autocmd BufRead,BufNewFile *.jsx set filetype=javascript]]