force comment handling for sql

This commit is contained in:
Paul Trowbridge 2024-10-16 09:18:14 -04:00
parent 8e0048f55e
commit 17f45981ed

View File

@ -35,3 +35,11 @@ require "nvchad.autocmds"
vim.schedule(function()
require "mappings"
end)
------added------------
vim.api.nvim_create_autocmd("FileType", {
pattern = "sql",
callback = function()
vim.bo.commentstring = "-- %s"
end,
})