add path completion
This commit is contained in:
parent
6aa7c90244
commit
224e199020
1 changed files with 7 additions and 0 deletions
7
home.nix
7
home.nix
|
|
@ -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" },
|
||||||
}, {
|
}, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue