add path completion

This commit is contained in:
jdonszelmann 2024-07-01 12:51:14 +02:00
parent 6aa7c90244
commit 224e199020
No known key found for this signature in database
GPG key ID: E0C1EA36407B2FF2

View file

@ -298,17 +298,23 @@ in
onedark-nvim onedark-nvim
vim-vsnip vim-vsnip
cmp-vsnip cmp-vsnip
cmp-path
nvim-web-devicons nvim-web-devicons
telescope-ui-select-nvim telescope-ui-select-nvim
telescope-fzf-native-nvim telescope-fzf-native-nvim
vim-suda vim-suda
render-markdown render-markdown
otter otter
vim-astro
]; ];
extraConfigLua = '' extraConfigLua = ''
vim.o.sessionoptions="blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions" vim.o.sessionoptions="blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
vim.cmd([[
let g:astro_typescript = 'enable'
]])
require("render-markdown").setup { require("render-markdown").setup {
latex_converter = '${pkgs.python312Packages.pylatexenc}/bin/latex2text', latex_converter = '${pkgs.python312Packages.pylatexenc}/bin/latex2text',
} }
@ -349,6 +355,7 @@ in
}), }),
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'path' },
{ name = 'vsnip' }, { name = 'vsnip' },
{ name = "otter" }, { name = "otter" },
}, { }, {