You've already forked dotfiles
fix: Cleaning up the settings and removing the statusColumn override
that was causing formatting issues.
This commit is contained in:
@@ -22,6 +22,7 @@ vim.opt.listchars = 'tab:|·,trail:¬,extends:»,precedes:«,nbsp:+' -- C
|
|||||||
vim.opt.mouse = 'a' -- Enable mouse mode
|
vim.opt.mouse = 'a' -- Enable mouse mode
|
||||||
vim.opt.number = true -- Show the line number in the gutter.
|
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.pumheight = 15 -- Maximum height of the auto complete floating window
|
||||||
|
vim.opt.relativenumber = true -- Show the relative line numbers
|
||||||
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.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
|
vim.opt.shiftround = true -- Round indentation to shiftwidth
|
||||||
vim.opt.shiftwidth = 4 -- Number of spaces a tab counts for when converting tabs to spaces
|
vim.opt.shiftwidth = 4 -- Number of spaces a tab counts for when converting tabs to spaces
|
||||||
@@ -33,7 +34,6 @@ vim.opt.smartindent = true -- Attem
|
|||||||
vim.opt.softtabstop = 4 -- Number of spaces a tab counts for when converting tabs to spaces
|
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
|
vim.opt.splitbelow = true -- Split windows below when horizontal splitting
|
||||||
vim.opt.splitright = true -- Split windows right when vertical splitting
|
vim.opt.splitright = true -- Split windows right when vertical splitting
|
||||||
vim.opt.statuscolumn = "%!v:lua.require('statuscolumn').statusColumn()" -- Formatting for the statuscolumn (and gutter)
|
|
||||||
vim.opt.swapfile = false -- Disable the creation of swap files for open files
|
vim.opt.swapfile = false -- Disable the creation of swap files for open files
|
||||||
vim.opt.tabstop = 4 -- Setting the value of spaces per tab
|
vim.opt.tabstop = 4 -- Setting the value of spaces per tab
|
||||||
vim.opt.termguicolors = true -- Enable the truecolor GUI colors in a terminal
|
vim.opt.termguicolors = true -- Enable the truecolor GUI colors in a terminal
|
||||||
@@ -42,6 +42,6 @@ vim.opt.undofile = true -- Enabl
|
|||||||
vim.opt.updatetime = 300 -- Swapfile update time in milliseconds
|
vim.opt.updatetime = 300 -- Swapfile update time in milliseconds
|
||||||
vim.opt.wrap = false -- Do _not_ wrap lines
|
vim.opt.wrap = false -- Do _not_ wrap lines
|
||||||
|
|
||||||
vim.g.netrw_banner = 0
|
vim.g.netrw_banner = 0 -- Remove the banner
|
||||||
vim.g.netrw_liststyle = 3 -- Use the tree style display for netrw directory listings
|
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
|
vim.g.netrw_winsize = 25 -- Percentage based pane size for directory exploring
|
||||||
|
|||||||
Reference in New Issue
Block a user