-- Lazy.nvim plugin manager local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", -- latest stable release lazypath, }) end vim.opt.rtp:prepend(lazypath) require("lazy").setup({ { 'nvim-telescope/telescope.nvim', tag = '0.1.6', dependencies = { 'nvim-lua/plenary.nvim' } }, { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" }, { "mbbill/undotree" }, {'neovim/nvim-lspconfig'}, { "sainnhe/everforest" }, {"Civitasv/cmake-tools.nvim"}, }) -- Enable preconfigured LSP's vim.lsp.enable({"clangd", "gopls", "texlab"}) require'nvim-treesitter.configs'.setup { ensure_installed = { "c" }, sync_install = false, auto_install = true, highlight = { enable = true, -- Setting this to true will run `:h syntax` and tree-sitter at the same time. -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). -- Using this option may slow down your editor, and you may see some duplicate highlights. -- Instead of true it can also be a list of languages additional_vim_regex_highlighting = false, }, }