1
0
Fork 0

Enable modeline

This commit is contained in:
Daniele Tricoli 2023-03-22 05:05:03 +01:00
parent 83d45adf02
commit 857342a999
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ opt.termguicolors = true
-- Enable undo persistence.
opt.undofile = true
-- Enable modeline, since it uses an allowlist approach since neovim >= 0.5:
-- https://github.com/neovim/neovim/issues/2865
opt.modeline = true
-- Use italic for comments.
cmd [[ autocmd Colorscheme * highlight Comment cterm=italic term=italic gui=italic ]]