Compare commits

...

2 Commits

Author SHA1 Message Date
pegasust abac563854 path autocomplete 2022-11-23 23:43:01 +00:00
pegasust 9b5ef176ed nvim: copium on treesitter auto-indent (it is awful) 2022-11-23 23:40:33 +00:00
2 changed files with 8 additions and 3 deletions

View File

@ -119,6 +119,10 @@
lola = "log --graph --decorate --pretty=oneline --abbrev-commit --all";
sts = "status";
};
# No idea why this is not appearing in home-manager search
# It's in source code, though
userName="pegasust";
userEmail="pegasucksgg@gmail.com";
extraConfig = {
merge = { tool = "vimdiff"; conflictstyle = "diff3"; };
};

View File

@ -45,7 +45,7 @@ Plug('hrsh7th/cmp-buffer')
Plug('hrsh7th/cmp-cmdline')
Plug('hrsh7th/nvim-cmp')
Plug('onsails/lspkind-nvim')
Plug('yioneko/nvim-yati') -- hopefully fixes Python indentation auto-correct from Tree-sitter
Plug('yioneko/nvim-yati', { tag = '*'}) -- hopefully fixes Python indentation auto-correct from Tree-sitter
-- Plug('tzachar/cmp-tabnine', { ['do'] = './install.sh' })
-- DevExp
@ -281,7 +281,8 @@ end, { desc = '[Z]ettelkasten [G]rep' })
-- treesitter
require('nvim-treesitter.configs').setup {
yati = { enable = true, default_lazy = true },
yati = { enable = true, default_lazy = true, default_fallback = "auto"},
indent = { enable = false },
ensure_installed = {
'tsx', 'toml', 'lua', 'typescript', 'rust', 'go', 'yaml', 'json', 'php', 'css',
'python', 'prisma', 'html', "dockerfile", "c", "cpp", "hcl", "svelte", "astro",
@ -289,7 +290,6 @@ require('nvim-treesitter.configs').setup {
},
sync_install = false,
highlight = { enable = true },
indent = { enable = false },
incremental_selection = {
enable = true,
keymaps = {
@ -496,6 +496,7 @@ cmp.setup {
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
{ name = 'buffer' },
{ name = 'path' },
-- { name = 'cmp_tabnine' },
},
}