From a49fcc782ad4e84ae68c69393604f2702da913b9 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Mon, 6 Oct 2025 23:02:57 -0400 Subject: Updated Neovim Config --- .config/nvim/lua/plugins.lua | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .config/nvim/lua/plugins.lua (limited to '.config/nvim/lua/plugins.lua') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua new file mode 100644 index 0000000..fb1ed73 --- /dev/null +++ b/.config/nvim/lua/plugins.lua @@ -0,0 +1,42 @@ +-- 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, + }, +} -- cgit v1.2.3