refactor: Comment nix and hyprlang without spacing in between
This commit is contained in:
parent
5d6ab73544
commit
acd513371b
4 changed files with 9 additions and 9 deletions
|
@ -57,13 +57,12 @@ return {
|
|||
},
|
||||
init = function ()
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "nix" },
|
||||
pattern = { "nix", "hyprlang" },
|
||||
callback = function()
|
||||
vim.opt_local.commentstring = "# %s"
|
||||
vim.opt_local.commentstring = "#%s"
|
||||
end,
|
||||
group = generalSettingsGroup,
|
||||
})
|
||||
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue