Compare commits
3 Commits
bbcc388705
...
eb59ad7abc
Author | SHA1 | Date |
---|---|---|
|
eb59ad7abc | |
|
39a615ac01 | |
|
4498937ce9 |
|
@ -2,6 +2,10 @@ vim.opt.termguicolors = true
|
||||||
vim.opt.encoding = "utf-8"
|
vim.opt.encoding = "utf-8"
|
||||||
vim.opt.autowriteall = true
|
vim.opt.autowriteall = true
|
||||||
|
|
||||||
vim.opt.undodir = "~/.vim/undodir"
|
vim.opt.number = true
|
||||||
|
|
||||||
|
--vim.opt.undodir = "~/.vim/undodir"
|
||||||
vim.opt.undofile = true
|
vim.opt.undofile = true
|
||||||
vim.opt.undolevels = 1000
|
vim.opt.undolevels = 1000
|
||||||
|
|
||||||
|
vim.opt.updatetime = 500
|
|
@ -1,5 +1,4 @@
|
||||||
vim.opt.wrap = true
|
vim.opt.wrap = true
|
||||||
vim.opt.linebreak = true
|
vim.opt.linebreak = true
|
||||||
vim.opt.textwidth = 0 --prevent vim from isnerting linebreaks
|
vim.opt.textwidth = 0 --prevent vim from isnerting linebreaks
|
||||||
|
vim.opt.number = false
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
return { "RRethy/vim-illuminate" }
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
return {
|
||||||
|
"tzachar/local-highlight.nvim",
|
||||||
|
config = function()
|
||||||
|
require("local-highlight").setup({
|
||||||
|
-- file_types = { "python", "cpp" }, -- If this is given only attach to this
|
||||||
|
-- OR attach to every filetype except:
|
||||||
|
disable_file_types = { "tex" },
|
||||||
|
--hlgroup = "Search",
|
||||||
|
cw_hlgroup = nil,
|
||||||
|
-- Whether to display highlights in INSERT mode or not
|
||||||
|
insert_mode = false,
|
||||||
|
min_match_len = 1,
|
||||||
|
max_match_len = math.huge,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
Loading…
Reference in New Issue