add vim-sleuth

enable treesitter indentation
This commit is contained in:
Pim Kunis 2023-01-31 19:16:07 +01:00
parent 96d3e928b1
commit cbae9439e3
3 changed files with 10 additions and 4 deletions

View file

@ -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. - some kind of tag setup with: bootstrap, update, etc.
- i3 app shortcuts - 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. - 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? - I think fzf is not cloned?
Would like Ansible Vault to check in keypair for syncthing. 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 #### Neovim
- More cool plugins :) - More cool plugins :)
- gcc comment - default neovim editor
- indenting - dropdown autocomplete
- fzf in vim? telescope or something
## Long-term TODO ## Long-term TODO

View file

@ -51,4 +51,7 @@ return require('packer').startup(function()
-- Commenting -- Commenting
use 'terrortylor/nvim-comment' use 'terrortylor/nvim-comment'
-- Automatic settings depending on file type
use 'tpope/vim-sleuth'
end) end)

View file

@ -10,4 +10,8 @@ require'nvim-treesitter.configs'.setup {
-- `false` will disable the whole extension -- `false` will disable the whole extension
enable = true, enable = true,
}, },
indent = {
enable = true
}
} }