We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89361f7 commit dfa808cCopy full SHA for dfa808c
2 files changed
lua/autocmds.lua
@@ -33,3 +33,11 @@ vim.filetype.add({
33
[".zshenv"] = "sh",
34
},
35
})
36
+
37
+-- Disable automatic line breaks on comments
38
+vim.api.nvim_create_autocmd("FileType", {
39
+ pattern = "*",
40
+ callback = function()
41
+ vim.opt_local.formatoptions:remove("c")
42
+ end,
43
+})
lua/plugins/init.lua
@@ -18,7 +18,6 @@ if not ok then
18
end
19
20
local theme = require("theme")
21
-
22
local plugins = {
23
---- UI
24
theme.get_active_theme(),
0 commit comments