diff options
author | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-05-20 17:08:02 +0100 |
---|---|---|
committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-05-20 17:08:02 +0100 |
commit | 079c385b9bd40a73ebafae6d847f62c2bed5126c (patch) | |
tree | 95d5e270ac7dab639fe7bca9b7a02041bfadfa47 /home/.config/nvim/lua/cfg/options.lua | |
parent | 1d6fe632512eca513dab6a8868298df638e50e5e (diff) | |
download | dotfiles-079c385b9bd40a73ebafae6d847f62c2bed5126c.tar.gz dotfiles-079c385b9bd40a73ebafae6d847f62c2bed5126c.tar.bz2 dotfiles-079c385b9bd40a73ebafae6d847f62c2bed5126c.zip |
[nvim] Rewrite config motivated by nvim 0.10
Diffstat (limited to 'home/.config/nvim/lua/cfg/options.lua')
-rw-r--r-- | home/.config/nvim/lua/cfg/options.lua | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/home/.config/nvim/lua/cfg/options.lua b/home/.config/nvim/lua/cfg/options.lua index cce808a..ee957a2 100644 --- a/home/.config/nvim/lua/cfg/options.lua +++ b/home/.config/nvim/lua/cfg/options.lua @@ -2,16 +2,11 @@ local opt = vim.opt opt.undofile = true opt.swapfile = false -vim.opt.shadafile = "NONE" -vim.g.ts_highlight_lua = true -vim.g.ts_highlight_c = true -vim.g.ts_highlight_vim = true +opt.shadafile = "NONE" -opt.showmode = true opt.number = true opt.cursorline = true opt.signcolumn = "auto:2" -opt.showtabline = 2 opt.showmatch = true opt.expandtab = true @@ -20,8 +15,6 @@ opt.shiftwidth = 0 opt.softtabstop = -1 opt.tabstop = 4 -opt.foldenable = false - opt.splitbelow = true opt.splitright = true @@ -32,7 +25,6 @@ opt.colorcolumn = "+1" opt.formatoptions:remove("t") opt.cmdheight = 2 -opt.updatetime = 300 opt.shortmess:append({ a = true }) @@ -106,7 +98,6 @@ opt.foldmethod = "expr" opt.foldexpr = "nvim_treesitter#foldexpr()" opt.foldenable = false -opt.laststatus = 2 vim.g.mapleader = " " vim.g.maplocalleader = "," @@ -114,8 +105,5 @@ vim.diagnostic.config({ virtual_text = { source = "if_many", severity = vim.diagnostic.severity.ERROR, - }, - signs = true, - underline = true, - update_in_insert = false, + } }) |