summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/user/options.lua
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2023-12-09 21:38:14 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2023-12-09 21:38:14 +0300
commitd2193c1bd22ba52fc4784eb271b40d71cb140738 (patch)
tree58e131a8e402508e54da12d90b9f54d8b4047dc2 /.config/nvim/lua/user/options.lua
parentff61e763b12badbf73f4e78b462c626ab206be1c (diff)
Added autocopmletion
Now settings for every language are in directoty ~/.config/nvim/lua/user/lsp
Diffstat (limited to '.config/nvim/lua/user/options.lua')
-rw-r--r--.config/nvim/lua/user/options.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/.config/nvim/lua/user/options.lua b/.config/nvim/lua/user/options.lua
index a8e58bc..44c3599 100644
--- a/.config/nvim/lua/user/options.lua
+++ b/.config/nvim/lua/user/options.lua
@@ -16,8 +16,9 @@ local options = {
shiftwidth = 8,
smartindent = true,
swapfile = false,
- timeoutlen = 1000, --ms
- updatetime = 300,
+ timeoutlen = 1000, --ms
+ termguicolors = true,
+ updatetime = 300, --ms
writebackup = false,
expandtab = false, -- !!!!!!!!!
cursorline = false,
@@ -26,6 +27,8 @@ local options = {
-- splitting
splitbelow = true,
splitright = true,
+ -- autocompletion
+ completeopt = { 'menuone', 'noselect', 'noinsert' }
}
for key, val in pairs(options) do