diff options
| author | kylo252 <[email protected]> | 2022-10-17 17:29:15 +0200 | 
|---|---|---|
| committer | kylo252 <[email protected]> | 2022-10-17 17:29:15 +0200 | 
| commit | 4ef07315003f723bb8e97d5a91b2bde3773ec1b8 (patch) | |
| tree | e9889a492f76e3f9573228343aaba647dfd48136 /lua/lvim/config/settings.lua | |
| parent | e4a5fe97abe500bbbe78fb137d57a59f558da05a (diff) | |
| parent | 6f6cbc394d2a7e64964b6067a2f42d2e6a07824e (diff) | |
Merge remote-tracking branch 'origin/rolling'
Diffstat (limited to 'lua/lvim/config/settings.lua')
| -rw-r--r-- | lua/lvim/config/settings.lua | 12 | 
1 files changed, 7 insertions, 5 deletions
| diff --git a/lua/lvim/config/settings.lua b/lua/lvim/config/settings.lua index faa28641..4f61ed09 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,28 +33,31 @@ 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      shadafile = join_paths(get_cache_dir(), "lvim.shada"),      scrolloff = 8, -- minimal number of screen lines to keep above and below the cursor.      sidescrolloff = 8, -- minimal number of screen lines to keep left and right of the cursor. +    showcmd = false, +    ruler = false, +    laststatus = 3,    }    ---  SETTINGS  --- +  vim.opt.spelllang:append "cjk" -- disable spellchecking for asian characters (VIM algorithm does not support it)    vim.opt.shortmess:append "c" -- don't show redundant messages from ins-completion-menu    vim.opt.shortmess:append "I" -- don't show the default intro message    vim.opt.whichwrap:append "<,>,[,],h,l" | 
