summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup.lua
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-18 18:29:32 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-18 18:29:32 +0200
commite9e3805205027c5c95f5a5763e5c01c32e08efe6 (patch)
tree6e4462992e4ab3a4cc8a60e82c3b2f85a70aa8aa /.config/nvim/lua/setup.lua
parent70c5c7eeda1de97e3a31ac9b02e232741657403e (diff)
Some vim+nvim config cleanup + simple vim statusbar
Diffstat (limited to '.config/nvim/lua/setup.lua')
-rw-r--r--.config/nvim/lua/setup.lua21
1 files changed, 5 insertions, 16 deletions
diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua
index 5d71554..8c59b41 100644
--- a/.config/nvim/lua/setup.lua
+++ b/.config/nvim/lua/setup.lua
@@ -1,22 +1,11 @@
local set = vim.opt
-if vim.fn.has('mouse') then
- set.mouse = "a"
-end
-
-if vim.fn.has('filetype') then
- vim.cmd('filetype indent plugin on')
-end
-
-if vim.fn.has('syntax') then
- vim.cmd('syntax on')
-end
-
-if vim.fn.has('persistent_undo') then
- vim.cmd('set undodir=$HOME/.vim/undo')
- vim.cmd('set undofile')
-end
+vim.cmd('filetype indent plugin on')
+vim.cmd('syntax enable')
+vim.cmd('set undodir=$HOME/.vim/undo')
+vim.cmd('set undofile')
+set.mouse = "a"
set.termguicolors = true
set.hidden = true
set.wildmenu = true