Use 2 space tabs by default & disable unused providers
This commit is contained in:
parent
a5e1d8cdaf
commit
ff5b0cff1f
@ -1,5 +1,8 @@
|
||||
-- Enable line numbers & use relative line number for current line
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
-- Always display the sign column
|
||||
vim.opt.signcolumn = 'yes'
|
||||
vim.opt.sidescrolloff = 5
|
||||
vim.opt.list = true
|
||||
@ -19,3 +22,15 @@ vim.opt.switchbuf = 'usetab'
|
||||
vim.opt.autowrite = true
|
||||
vim.opt.joinspaces = false
|
||||
vim.opt.mouse = 'a'
|
||||
|
||||
-- Use 2 space tabs by default
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.smartindent = true
|
||||
vim.opt.cinoptions = 'N-sE-sg1h1l1(0,W4i2'
|
||||
|
||||
-- Disable unused providers
|
||||
vim.g.loaded_node_provider = 0
|
||||
vim.g.loaded_perl_provider = 0
|
||||
vim.g.loaded_ruby_provider = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user