nvchad-config/lua/custom/init.lua

22 lines
518 B
Lua
Raw Permalink Normal View History

2024-01-08 16:46:02 +01:00
vim.g.dap_virtual_text = true
vim.opt.colorcolumn = "120"
-- Disable persistent undo
vim.opt.undofile = false
-- Enable line wrapping at column 120 for Markdown files
vim.api.nvim_exec([[
autocmd FileType markdown setlocal textwidth=120
autocmd FileType markdown setlocal wrap
autocmd FileType markdown setlocal linebreak
autocmd FileType markdown setlocal spell
autocmd FileType markdown setlocal spelllang=en,de
]], false)
-- Custom filetypes
vim.filetype.add({
extension = {
templ = "templ",
},
})