diff --git a/README.md b/README.md index b5a718c..1f34ff3 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,6 @@ My current setup is [Regolith OS](https://regolith-desktop.com/) which is basica - some kind of tag setup with: bootstrap, update, etc. - i3 app shortcuts - Configuration for desktop at uni. It should be really similar, except syncthing should have a new keypair. Also some applications are not necessary, e.g. nicotine+ and virtualbox. -- default neovim editor -- dropdown autocomplete - I think fzf is not cloned? Would like Ansible Vault to check in keypair for syncthing. @@ -31,8 +29,9 @@ As an intermediate solution, I can just put the password in keepass... #### Neovim - More cool plugins :) -- gcc comment -- indenting +- default neovim editor +- dropdown autocomplete +- fzf in vim? telescope or something ## Long-term TODO diff --git a/roles/neovim/files/lua/plugins.lua b/roles/neovim/files/lua/plugins.lua index 6d53be0..2862520 100644 --- a/roles/neovim/files/lua/plugins.lua +++ b/roles/neovim/files/lua/plugins.lua @@ -51,4 +51,7 @@ return require('packer').startup(function() -- Commenting use 'terrortylor/nvim-comment' + + -- Automatic settings depending on file type + use 'tpope/vim-sleuth' end) diff --git a/roles/neovim/files/plugin/treesitter.lua b/roles/neovim/files/plugin/treesitter.lua index 6938673..d057b78 100644 --- a/roles/neovim/files/plugin/treesitter.lua +++ b/roles/neovim/files/plugin/treesitter.lua @@ -10,4 +10,8 @@ require'nvim-treesitter.configs'.setup { -- `false` will disable the whole extension enable = true, }, + + indent = { + enable = true + } }