Compare commits
2 commits
92d1767305
...
004700d098
Author | SHA1 | Date | |
---|---|---|---|
|
004700d098 | ||
|
36a5f40360 |
2 changed files with 13 additions and 6 deletions
|
@ -51,7 +51,7 @@ vim.opt.splitbelow = true
|
||||||
-- See `:help 'list'`
|
-- See `:help 'list'`
|
||||||
-- and `:help 'listchars'`
|
-- and `:help 'listchars'`
|
||||||
vim.opt.list = true
|
vim.opt.list = true
|
||||||
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
vim.opt.listchars = { tab = '│ ', trail = '·', nbsp = '␣' }
|
||||||
|
|
||||||
-- Preview substitutions live, as you type!
|
-- Preview substitutions live, as you type!
|
||||||
vim.opt.inccommand = 'split'
|
vim.opt.inccommand = 'split'
|
||||||
|
@ -63,10 +63,10 @@ vim.opt.cursorline = true
|
||||||
vim.opt.scrolloff = 10
|
vim.opt.scrolloff = 10
|
||||||
|
|
||||||
-- Make tabs behave
|
-- Make tabs behave
|
||||||
vim.opt.smarttab = true
|
vim.opt.smarttab = true -- Smart tabbing behavior, context-dependent
|
||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true -- Convert tabs to spaces
|
||||||
vim.opt.tabstop = 2
|
vim.opt.tabstop = 4 -- A Tab character is visually equal to 4 spaces.
|
||||||
vim.opt.shiftwidth = 2
|
vim.opt.shiftwidth = 4 -- Auto-indent shifts are 4 spaces wide.
|
||||||
vim.opt.softtabstop = 2
|
vim.opt.softtabstop = 4 -- When pressing Tab, insert 4 spaces if expandtab is enabled.
|
||||||
|
|
||||||
-- vim: ts=2 sts=2 sw=2 et
|
-- vim: ts=2 sts=2 sw=2 et
|
||||||
|
|
7
lua/plugins/crates-nvim.lua
Normal file
7
lua/plugins/crates-nvim.lua
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
return {
|
||||||
|
'saecki/crates.nvim',
|
||||||
|
tag = 'stable',
|
||||||
|
config = function()
|
||||||
|
require('crates').setup()
|
||||||
|
end,
|
||||||
|
}
|
Loading…
Reference in a new issue