diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-04-14 19:45:47 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-04-14 19:45:47 +0200 |
| commit | 343cbcc42d329b24a3ef03d31035dc7c1b708c5b (patch) | |
| tree | 01716e44acae7935478af087ccdaf4af33157175 | |
| parent | afb04695977c300478b42e06c78c656358616df3 (diff) | |
| download | dots-343cbcc42d329b24a3ef03d31035dc7c1b708c5b.tar.gz | |
nvim: Set tabs/whitespace options
| -rw-r--r-- | nvim/lua/custom/plugins/fzf.lua | 8 | ||||
| -rw-r--r-- | nvim/lua/custom/plugins/rust.lua | 17 | ||||
| -rw-r--r-- | nvim/lua/options.lua | 5 |
3 files changed, 30 insertions, 0 deletions
diff --git a/nvim/lua/custom/plugins/fzf.lua b/nvim/lua/custom/plugins/fzf.lua new file mode 100644 index 0000000..ca100a2 --- /dev/null +++ b/nvim/lua/custom/plugins/fzf.lua @@ -0,0 +1,8 @@ +return { + { + 'junegunn/fzf.vim', + }, + { + 'junegunn/fzf', + }, +} diff --git a/nvim/lua/custom/plugins/rust.lua b/nvim/lua/custom/plugins/rust.lua new file mode 100644 index 0000000..ea1d7c8 --- /dev/null +++ b/nvim/lua/custom/plugins/rust.lua @@ -0,0 +1,17 @@ +return { + { + 'doums/darcula', + config = function() + vim.filetype.add { + extension = { + rust = 'rust', + }, + } + end, + }, + { + 'mrcjkb/rustaceanvim', + version = '^6', -- Recommended + lazy = false, -- This plugin is already lazy + }, +} diff --git a/nvim/lua/options.lua b/nvim/lua/options.lua index add7117..5267750 100644 --- a/nvim/lua/options.lua +++ b/nvim/lua/options.lua @@ -66,4 +66,9 @@ vim.opt.scrolloff = 10 -- See `:help 'confirm'` vim.opt.confirm = true +vim.opt.syntax = 'enable' +vim.opt.ts = 2 +vim.opt.sts = 2 +vim.opt.sw = 2 +vim.opt.expandtab = true -- vim: ts=2 sts=2 sw=2 et |