diff options
| Commit | c5a0d509fdc981ca9b34a641db88a47959a66b7a (patch) | |
|---|---|---|
| Author | 2024-08-06 18:13:28 +0300 | |
| Committer | 2024-08-06 18:13:28 +0300 | |
| Files | a20c17ef2348753cac3eb4e8864d66905fc09246 /lua/text.lua | |
| anderson-c5a0d509fdc981ca9b34a641db88a47959a66b7a.tar anderson-c5a0d509fdc981ca9b34a641db88a47959a66b7a.tar.gz anderson-c5a0d509fdc981ca9b34a641db88a47959a66b7a.zip | ||
| Parent | ce7fda37518dbb896184b142a7f22c246261437a (diff) | |
feat(ux): Moved settings from text to ux
1 files changed, 5 insertions, 28 deletions
| -rw-r--r-- | lua/text.lua | 33 |
diff --git a/lua/text.lua b/lua/text.lua index 2538284..03ef0ef 100644 --- a/lua/text.lua +++ b/lua/text.lua @@ -3,23 +3,6 @@ vim.cmd.highlight({ "link", "@variable", "GruvboxFg1" }) vim.cmd.highlight({ "link", "@operator", "GruvboxOrange" }) ---[=[ Search ]=]-- - -vim.o.hlsearch = false -- No highlighting when searching - ---[=[ Cursor ]=]-- - -vim.o.scrolloff = 5 -- Lines above and below cursor -vim.o.showmatch = true -- Jump to opening brace when having typed closing one - -vim.o.cursorline = true -vim.api.nvim_create_autocmd({ "InsertLeave", "BufEnter" }, { - command = "set cul" -}) -vim.api.nvim_create_autocmd({ "InsertEnter", "BufLeave" }, { - command = "set nocul" -}) - --[=[ Characters ]=]-- vim.o.list = true @@ -28,15 +11,9 @@ vim.opt.listchars = { tab = "│ ", extends = ">", precedes = "<" } vim.o.tabstop = 4 -- Show tab as 4 spaces vim.o.shiftwidth = 4 -- Indent with 4 spaces ---[=[ Windows ]=]-- - -vim.o.splitbelow = true -vim.o.splitright = true - -vim.o.number = true -vim.o.signcolumn = "number" - ---[=[ History ]=]-- +--[=[ Folding ]=]-- +vim.o.foldlevel = 99 +vim.cmd.highlight({ "Folded", "ctermfg=NONE" }) -vim.o.undofile = true -vim.o.undodir = vim.fn.expand("~/nvim/undo") +--[=[ ToHTML ]=]-- +vim.g.html_dynamic_folds = true |
