Merge branch 'dev' into venus

nvim: cleanup telescope.lua file
        add TreeSitter support for C++, Python, LaTeX
This commit is contained in:
David JULIEN 2023-02-03 09:19:48 +01:00
commit ffbc5c4d69
Signed by: swytch
GPG Key ID: 498590A3AA82A06F
2 changed files with 27 additions and 24 deletions

View File

@ -4,6 +4,7 @@
-- Description : telescope config file -- Description : telescope config file
return { return {
{
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
dependencies = { dependencies = {
{ {
@ -11,9 +12,8 @@ return {
"nvim-telescope/telescope-file-browser.nvim", "nvim-telescope/telescope-file-browser.nvim",
{ {
"nvim-telescope/telescope-fzf-native.nvim", "nvim-telescope/telescope-fzf-native.nvim",
build = "make", build = "make"
lazy = false, }
},
} }
}, },
opts = { opts = {
@ -30,3 +30,4 @@ return {
require("telescope").load_extension("file_browser") require("telescope").load_extension("file_browser")
end end
} }
}

View File

@ -11,7 +11,9 @@ return {
}, },
build = ":TSUpdate", build = ":TSUpdate",
opts = { opts = {
ensure_installed = { "c", "lua", "rust", "bash", "vim" }, ensure_installed = {
"c", "cpp", "lua", "rust", "bash", "vim", "latex", "python",
},
highlight = { highlight = {
enable = true, enable = true,
}, },