Compare commits

...

2 commits

Author SHA1 Message Date
Imbus
004700d098 Cargo.nvim for easier rust dependency management 2024-10-23 01:43:44 +02:00
Imbus
36a5f40360 Tab behaviour 2024-08-27 02:23:32 +02:00
2 changed files with 13 additions and 6 deletions

View file

@ -51,7 +51,7 @@ vim.opt.splitbelow = true
-- See `:help 'list'`
-- and `:help 'listchars'`
vim.opt.list = true
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' }
vim.opt.listchars = { tab = ' ', trail = '·', nbsp = '' }
-- Preview substitutions live, as you type!
vim.opt.inccommand = 'split'
@ -63,10 +63,10 @@ vim.opt.cursorline = true
vim.opt.scrolloff = 10
-- Make tabs behave
vim.opt.smarttab = true
vim.opt.expandtab = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.softtabstop = 2
vim.opt.smarttab = true -- Smart tabbing behavior, context-dependent
vim.opt.expandtab = true -- Convert tabs to spaces
vim.opt.tabstop = 4 -- A Tab character is visually equal to 4 spaces.
vim.opt.shiftwidth = 4 -- Auto-indent shifts are 4 spaces wide.
vim.opt.softtabstop = 4 -- When pressing Tab, insert 4 spaces if expandtab is enabled.
-- vim: ts=2 sts=2 sw=2 et

View file

@ -0,0 +1,7 @@
return {
'saecki/crates.nvim',
tag = 'stable',
config = function()
require('crates').setup()
end,
}