summaryrefslogtreecommitdiff
path: root/lua/lvim/config/settings.lua
diff options
context:
space:
mode:
authorChristian Chiarulli <[email protected]>2022-09-15 23:33:08 -0400
committerGitHub <[email protected]>2022-09-15 23:33:08 -0400
commita4c2dc4d0b638a50c3219f247b09e6238a44ec50 (patch)
tree250527d4ca3a5644d6d6fbae80d9d5a2abee5b0d /lua/lvim/config/settings.lua
parent464ad8b0035cbcaf4864d14da598b77a939026d8 (diff)
refactor: small improvements (#3021)
Diffstat (limited to 'lua/lvim/config/settings.lua')
-rw-r--r--lua/lvim/config/settings.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/lua/lvim/config/settings.lua b/lua/lvim/config/settings.lua
index faa28641..421d739b 100644
--- a/lua/lvim/config/settings.lua
+++ b/lua/lvim/config/settings.lua
@@ -13,8 +13,7 @@ M.load_default_options = function()
local default_options = {
backup = false, -- creates a backup file
clipboard = "unnamedplus", -- allows neovim to access the system clipboard
- cmdheight = 2, -- more space in the neovim command line for displaying messages
- colorcolumn = "99999", -- fixes indentline for now
+ cmdheight = 1, -- more space in the neovim command line for displaying messages
completeopt = { "menuone", "noselect" },
conceallevel = 0, -- so that `` is visible in markdown files
fileencoding = "utf-8", -- the encoding written to a file
@@ -34,19 +33,18 @@ M.load_default_options = function()
splitright = true, -- force all vertical splits to go to the right of current window
swapfile = false, -- creates a swapfile
termguicolors = true, -- set term gui colors (most terminals support this)
- timeoutlen = 250, -- time to wait for a mapped sequence to complete (in milliseconds)
+ timeoutlen = 1000, -- time to wait for a mapped sequence to complete (in milliseconds)
title = true, -- set the title of window to the value of the titlestring
-- opt.titlestring = "%<%F%=%l/%L - nvim" -- what the title of the window will be set to
undodir = undodir, -- set an undo directory
undofile = true, -- enable persistent undo
- updatetime = 300, -- faster completion
+ updatetime = 100, -- faster completion
writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
expandtab = true, -- convert tabs to spaces
shiftwidth = 2, -- the number of spaces inserted for each indentation
tabstop = 2, -- insert 2 spaces for a tab
cursorline = true, -- highlight the current line
number = true, -- set numbered lines
- relativenumber = false, -- set relative numbered lines
numberwidth = 4, -- set number column width to 2 {default 4}
signcolumn = "yes", -- always show the sign column, otherwise it would shift the text each time
wrap = false, -- display lines as one long line