force comment handling for sql
This commit is contained in:
parent
8e0048f55e
commit
17f45981ed
8
init.lua
8
init.lua
@ -35,3 +35,11 @@ require "nvchad.autocmds"
|
|||||||
vim.schedule(function()
|
vim.schedule(function()
|
||||||
require "mappings"
|
require "mappings"
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
------added------------
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
pattern = "sql",
|
||||||
|
callback = function()
|
||||||
|
vim.bo.commentstring = "-- %s"
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user