summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2025-10-06 23:02:57 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2025-10-06 23:02:57 -0400
commita49fcc782ad4e84ae68c69393604f2702da913b9 (patch)
tree8795b5092bd594122fab905e45ed8b342a917cfc /.config/nvim/lua/plugins.lua
parentbb4010e31c79d2716098843f7fe9b38c969f0950 (diff)
Updated Neovim Config
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r--.config/nvim/lua/plugins.lua42
1 files changed, 42 insertions, 0 deletions
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,
+ },
+}