22 lines
518 B
Lua
22 lines
518 B
Lua
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",
|
|
},
|
|
})
|