You've already forked dotfiles
feat: Updating some neovim settings from recent testing
This commit is contained in:
@@ -8,7 +8,7 @@ vim.opt.cursorcolumn = true -- Highlight
|
||||
vim.opt.cursorline = true -- Highlight the line the cursor is on.
|
||||
vim.opt.expandtab = true -- Expand tabs into spaces
|
||||
vim.opt.fileformat = 'unix' -- Explicitly state that files should use the unix style EOL characters.
|
||||
vim.opt.fillchars = 'fold: ' -- Sets the character that fills in a fold line
|
||||
-- vim.opt.fillchars = 'fold: ' -- Sets the character that fills in a fold line (removes the dots)
|
||||
vim.opt.foldcolumn = '0' -- Disables the foldcolumn
|
||||
vim.opt.foldexpr = 'v:lua.vim.treesitter.foldexpr()' -- Uses Treesitter to determine where code folding should occur
|
||||
vim.opt.foldlevel = 10 -- Sets the initial level at which folds will be closed
|
||||
@@ -16,10 +16,12 @@ vim.opt.foldlevelstart = 4 -- Sets the
|
||||
vim.opt.foldmethod = 'expr' -- Attempt to use the syntax of a file to set folds.
|
||||
vim.opt.foldnestmax = 4 -- Maximum level of fold nesting
|
||||
vim.opt.formatoptions = 'cqrto' -- Allow auto insertion of comment lines when using o or O on a comment.
|
||||
vim.opt.ignorecase = true -- Case-insensitive searching
|
||||
vim.opt.list = true -- Show the listchars
|
||||
vim.opt.listchars = 'tab:|·,trail:¬,extends:>,precedes:<,nbsp:+' -- Characters to display when showing whitespace
|
||||
vim.opt.listchars = 'tab:|·,trail:¬,extends:»,precedes:«,nbsp:+' -- Characters to display when showing whitespace
|
||||
vim.opt.mouse = 'a' -- Enable mouse mode
|
||||
vim.opt.number = true -- Show the line number in the gutter.
|
||||
vim.opt.pumheight = 15 -- Maximum height of the auto complete floating window
|
||||
vim.opt.relativenumber = true -- Relative line number
|
||||
vim.opt.sidescrolloff = 8 -- Side scrolling leadoff to keep the cursor a few characters from the screen edge instead of going all the way to it
|
||||
vim.opt.shiftround = true -- Round indentation to shiftwidth
|
||||
@@ -27,6 +29,7 @@ vim.opt.shiftwidth = 4 -- Number of
|
||||
vim.opt.shortmess = 'at' -- Abbreviations and truncation of cmd messages
|
||||
vim.opt.showmatch = true -- Show matching bracket
|
||||
vim.opt.signcolumn = 'yes' -- Always show the gutter
|
||||
vim.opt.smartcase = true -- Keeps searches Case-insensitive until the search has an upper case character
|
||||
vim.opt.smartindent = true -- Attempt to insert indentation to fit traditional languages.
|
||||
vim.opt.softtabstop = 4 -- Number of spaces a tab counts for when converting tabs to spaces
|
||||
vim.opt.splitbelow = true -- Split windows below when horizontal splitting
|
||||
@@ -36,8 +39,9 @@ vim.opt.tabstop = 4 -- Setting t
|
||||
vim.opt.termguicolors = true -- Enable the truecolor GUI colors in a terminal
|
||||
vim.opt.undodir = os.getenv('HOME') .. '/.config/nvim/undodir' -- Set a specific undo file directory
|
||||
vim.opt.undofile = true -- Enable undo files
|
||||
vim.opt.updatetime = 300 -- Update time in milliseconds
|
||||
vim.opt.updatetime = 300 -- Swapfile update time in milliseconds
|
||||
vim.opt.wrap = false -- Do _not_ wrap lines
|
||||
|
||||
vim.g.netrw_banner = 0
|
||||
vim.g.netrw_liststyle = 3 -- Use the tree style display for netrw directory listings
|
||||
vim.g.netrw_winsize = 25 -- Percentage based pane size for directory exploring
|
||||
|
||||
Reference in New Issue
Block a user