adding line wrapping to nvim
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-- Options are automatically loaded before lazy.nvim startup
|
||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||
-- Add any additional options here
|
||||
|
||||
vim.opt.wrap = true
|
||||
-- vim.opt.colorcolumn = "120"
|
||||
vim.opt.breakindent = true -- Indent wrapped lines to match indent of first line
|
||||
vim.opt.linebreak = true -- Break lines at word boundaries, not mid-word
|
||||
vim.opt.showbreak = "↳ " -- Show indicator for wrapped lines
|
||||
|
||||
Reference in New Issue
Block a user