diff --git a/.github/workflows/nvim.yaml b/.github/workflows/nvim.yaml index 9b3c97e..d937ba9 100644 --- a/.github/workflows/nvim.yaml +++ b/.github/workflows/nvim.yaml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - nvim-version: ["v0.10.0"] + nvim-version: ["v0.11.0"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/trufflehog.yaml similarity index 55% rename from .github/workflows/gitleaks.yaml rename to .github/workflows/trufflehog.yaml index e270c18..c441be4 100644 --- a/.github/workflows/gitleaks.yaml +++ b/.github/workflows/trufflehog.yaml @@ -1,4 +1,4 @@ -name: gitleaks +name: trufflehog on: pull_request: @@ -7,12 +7,12 @@ on: jobs: scan: - name: gitleaks + name: trufflehog runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: gitleaks/gitleaks-action@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: trufflesecurity/trufflehog@main + with: + extra_args: --only-verified diff --git a/ghostty/config b/ghostty/config index b47dc98..05d9a52 100644 --- a/ghostty/config +++ b/ghostty/config @@ -2,3 +2,4 @@ font-family = "JetBrains Mono" theme = "catppuccin-frappe" font-size = 16 foreground = ffffff +macos-option-as-alt = true diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 6b28343..888b996 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -1,50 +1,54 @@ { - "Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" }, - "LuaSnip": { "branch": "master", "commit": "5de556a3e970346debd43b686deab4ed1f9bf18a" }, - "alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" }, - "avante.nvim": { "branch": "main", "commit": "57311bf8cd2f48729565d2351bcbf383b6a56907" }, - "catppuccin": { "branch": "main", "commit": "5215ea59df6d0a7e27da9a5cd1165e06d1b04cbe" }, - "ccc.nvim": { "branch": "main", "commit": "790aa881d7f47bc7cc07ad03f1216bb7caf9ef67" }, - "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, - "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, - "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, - "codecompanion.nvim": { "branch": "main", "commit": "dd928d6131e3fe22b33a413e63fa376e0429e734" }, - "dressing.nvim": { "branch": "master", "commit": "6741f1062d3dc6e4755367a7e9b347b553623f04" }, - "friendly-snippets": { "branch": "main", "commit": "682157939e57bd6a2c86277dfd4d6fbfce63dbac" }, + "Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, + "LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" }, + "alpha-nvim": { "branch": "main", "commit": "3979b01cb05734331c7873049001d3f2bb8477f4" }, + "avante.nvim": { "branch": "main", "commit": "e89eb79abf5754645e20aa6074da10ed20bba33c" }, + "catppuccin": { "branch": "main", "commit": "beaf41a30c26fd7d6c386d383155cbd65dd554cd" }, + "ccc.nvim": { "branch": "main", "commit": "9d1a256e006decc574789dfc7d628ca11644d4c2" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" }, + "cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" }, + "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, + "codecompanion.nvim": { "branch": "main", "commit": "43aeabc83e3744e95663a3df23b72d59a4468e46" }, + "dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, + "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, "ghostty.nvim": { "branch": "master", "commit": "86114c996e87108c3e7e5d4d5596581914374a77" }, - "gitsigns.nvim": { "branch": "main", "commit": "0595724fa9516a35696ff6b1e3cb95b6462b38b1" }, - "harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" }, - "img-clip.nvim": { "branch": "main", "commit": "5ff183655ad98b5fc50c55c66540375bbd62438c" }, - "kitty-scrollback.nvim": { "branch": "main", "commit": "dc101d0a8356db9c7290dfbfa82c27ec35e3b55a" }, - "lazy.nvim": { "branch": "main", "commit": "0fc34a0cf5f5f6f998a0897119a7d846b47eaa9d" }, - "lazygit.nvim": { "branch": "main", "commit": "ad3e1ea592f9d13e86e0d4e850224d9d78069508" }, - "lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "a4caa0d083aab56f6cd5acf2d42331b74614a585" }, - "mason.nvim": { "branch": "main", "commit": "0950b15060067f752fde13a779a994f59516ce3d" }, - "mini.nvim": { "branch": "main", "commit": "657ef75b52a548090fb7906735517b7ddbf39e88" }, - "noice.nvim": { "branch": "main", "commit": "69c6ad5c1f1c0777125d0275f9871d8609cb0521" }, - "none-ls.nvim": { "branch": "main", "commit": "8691504118b252d64fc5023a104aedd100ab754a" }, - "nui.nvim": { "branch": "main", "commit": "322978c734866996274467de084a95e4f9b5e0b1" }, - "nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" }, - "nvim-dap": { "branch": "master", "commit": "665d3569a86395fe0dab85efbdb26d7d2ee57e49" }, - "nvim-dap-go": { "branch": "main", "commit": "6aa88167ea1224bcef578e8c7160fe8afbb44848" }, - "nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" }, - "nvim-lspconfig": { "branch": "master", "commit": "d1ab6b6051976b04948e127b0f302a465b1394d6" }, - "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, - "nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" }, - "nvim-treesitter": { "branch": "master", "commit": "49e4e2b4b62360677568c47b6467f31c809b391c" }, - "nvim-ufo": { "branch": "main", "commit": "203c9f434feec57909ab4b1e028abeb3349b7847" }, - "nvim-web-devicons": { "branch": "master", "commit": "b77921fdc44833c994fdb389d658ccbce5490c16" }, - "oil.nvim": { "branch": "master", "commit": "71c972fbd218723a3c15afcb70421f67340f5a6d" }, - "plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }, - "present.nvim": { "branch": "master", "commit": "c624f539a47056b77ed87af3ff629ed88f80f579" }, + "gitsigns.nvim": { "branch": "main", "commit": "42d6aed4e94e0f0bbced16bbdcc42f57673bd75e" }, + "harpoon": { "branch": "harpoon2", "commit": "87b1a3506211538f460786c23f98ec63ad9af4e5" }, + "img-clip.nvim": { "branch": "main", "commit": "b6ddfb97b5600d99afe3452d707444afda658aca" }, + "kitty-scrollback.nvim": { "branch": "main", "commit": "8026a3715a93c7302d6bc4979f64102885ad1fc7" }, + "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, + "lazygit.nvim": { "branch": "main", "commit": "a04ad0dbc725134edbee3a5eea29290976695357" }, + "lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "fe661093f4b05136437b531e7f959af2a2ae66c8" }, + "mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" }, + "mini.nvim": { "branch": "main", "commit": "8dccba88fc4dce006ca0ad668067c9e0d5ce7702" }, + "noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" }, + "none-ls.nvim": { "branch": "main", "commit": "1fcf9cbf9acf893455c6cee792537aa709de62cb" }, + "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, + "nvim-cmp": { "branch": "main", "commit": "85bbfad83f804f11688d1ab9486b459e699292d6" }, + "nvim-dap": { "branch": "master", "commit": "cdfd55a133f63228c55f91378f12908cb2a78ded" }, + "nvim-dap-go": { "branch": "main", "commit": "b4421153ead5d726603b02743ea40cf26a51ed5f" }, + "nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" }, + "nvim-lspconfig": { "branch": "master", "commit": "92ee7d42320edfbb81f3cad851314ab197fa324a" }, + "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, + "nvim-surround": { "branch": "main", "commit": "1098d7b3c34adcfa7feb3289ee434529abd4afd1" }, + "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, + "nvim-ufo": { "branch": "main", "commit": "ab3eb124062422d276fae49e0dd63b3ad1062cfc" }, + "nvim-web-devicons": { "branch": "master", "commit": "803353450c374192393f5387b6a0176d0972b848" }, + "oil.nvim": { "branch": "master", "commit": "d278dc40f9de9980868a0a55fa666fba5e6aeacb" }, + "playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" }, + "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, + "present.nvim": { "branch": "master", "commit": "ce22dfaf9ebc2b37eb688e00929dfaeff126fe94" }, "promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" }, - "render-markdown": { "branch": "main", "commit": "5e4e33102b784353998c83d57dbacea4db71d55b" }, - "render-markdown.nvim": { "branch": "main", "commit": "61850bf7df4af8398e97559a35b62378ba8435b1" }, + "render-markdown": { "branch": "main", "commit": "ae89236e2389836cf1c3787b2b80d5d8685cc13f" }, + "render-markdown.nvim": { "branch": "main", "commit": "ae89236e2389836cf1c3787b2b80d5d8685cc13f" }, "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" }, "telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" }, - "trouble.nvim": { "branch": "main", "commit": "7a9c235806d4d9e2e74889f7e359f183a6d0e20d" }, - "vim-floaterm": { "branch": "master", "commit": "4e28c8dd0271e10a5f55142fb6fe9b1599ee6160" }, - "vim-tmux-navigator": { "branch": "master", "commit": "5b3c701686fb4e6629c100ed32e827edf8dad01e" }, - "which-key.nvim": { "branch": "main", "commit": "fb070344402cfc662299d9914f5546d840a22126" } -} \ No newline at end of file + "trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" }, + "vim-dadbod": { "branch": "master", "commit": "6d1d41da4873a445c5605f2005ad2c68c99d8770" }, + "vim-dadbod-completion": { "branch": "master", "commit": "a8dac0b3cf6132c80dc9b18bef36d4cf7a9e1fe6" }, + "vim-dadbod-ui": { "branch": "master", "commit": "48c4f271da13d380592f4907e2d1d5558044e4e5" }, + "vim-floaterm": { "branch": "master", "commit": "a11b930f55324e9b05e2ef16511fe713f1b456a7" }, + "vim-tmux-navigator": { "branch": "master", "commit": "c45243dc1f32ac6bcf6068e5300f3b2b237e576a" }, + "which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" } +} diff --git a/nvim/lua/plugins/ai.lua b/nvim/lua/plugins/ai.lua index af31d02..4f538e3 100644 --- a/nvim/lua/plugins/ai.lua +++ b/nvim/lua/plugins/ai.lua @@ -13,7 +13,7 @@ return { config = function() require("codecompanion").setup({ adapters = { - anthropic = require("codecompanion.adapters").use("anthropic", { + anthropic = require("codecompanion.adapters").extend("anthropic", { env = { api_key = "ANTHROPIC_TOKEN", }, @@ -53,6 +53,23 @@ return { version = false, -- set this to "*" if you want to always pull the latest change, false to update on release opts = { -- add any opts here + provider = "claude", + auto_suggestion_provider = "claude", + behaviour = { + auto_suggestions = true, + enable_cursor_planning_mode = true, + auto_set_keymaps = true, + }, + providers = { + claude = { + model = "claude-3-7-sonnet-20250219", + timeout = 30000, -- Timeout in milliseconds + extra_request_body = { + temperature = 0, + max_tokens = 32768, + }, + }, + }, }, -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` build = "make", diff --git a/nvim/lua/plugins/lsp-config.lua b/nvim/lua/plugins/lsp-config.lua index 5011b73..8a3ec9b 100644 --- a/nvim/lua/plugins/lsp-config.lua +++ b/nvim/lua/plugins/lsp-config.lua @@ -1,106 +1,156 @@ return { - { - "williamboman/mason.nvim", - config = function() - require("mason").setup() - end, - }, - { - "williamboman/mason-lspconfig.nvim", - config = function() - require("mason-lspconfig").setup({ - ensure_installed = { - "lua_ls", - "tsserver", - "gopls", - "golangci_lint_ls", - "ocamllsp", - "marksman", - "pylsp", - "bashls", - "java_language_server", - "jinja_lsp", - }, - }) - end, - }, - { - "neovim/nvim-lspconfig", - config = function() - local lspconfig = require("lspconfig") - local util = require("lspconfig/util") + { + "williamboman/mason.nvim", + config = function() + require("mason").setup() + end, + }, + { + "williamboman/mason-lspconfig.nvim", + config = function() + require("mason-lspconfig").setup({ + ensure_installed = { + "lua_ls", + "ts_ls", + "gopls", + "golangci_lint_ls", + "ocamllsp", + "marksman", + "pylsp", + "bashls", + "java_language_server", + "jinja_lsp", + "dockerls", + }, + }) + end, + }, + { + "neovim/nvim-lspconfig", + config = function() + -- java_language_server configuration + vim.lsp.config.java_language_server = { + cmd = { "java-language-server" }, + } - lspconfig.java_language_server.setup({ - cmd = { - "java-language-server", - }, - }) - lspconfig.lua_ls.setup({ - settings = { - Lua = { - diagnostics = { - globals = { "vim" }, - }, - }, - }, - }) - lspconfig.pylsp.setup({}) - lspconfig.marksman.setup({}) - lspconfig.tsserver.setup({}) - lspconfig.bashls.setup({}) - lspconfig.ocamllsp.setup({ - cmd = { "ocamllsp" }, - filetypes = { "ocaml", "ocaml.menhir", "ocaml.interface", "ocaml.ocamllex", "reason", "dune" }, - root_dir = util.root_pattern( - "*.opam", - "esy.json", - "package.json", - ".git", - "dune-project", - "dune-workspace" - ), - }) + -- lua_ls configuration + vim.lsp.config.lua_ls = { + settings = { + Lua = { + diagnostics = { + globals = { "vim" }, + }, + }, + }, + } - lspconfig.gopls.setup({ - cmd = { "gopls" }, - filetypes = { "go", "gomod", "gowork", "gotmpl" }, - root_dir = util.root_pattern("go.work", "go.mod", ".git"), - settings = { - gopls = { - completeUnimported = true, - usePlaceholders = true, - analyses = { - unusedparams = true, - }, - }, - }, - }) + -- Helper to find venv pylsp + local function find_venv_pylsp() + local root = vim.fn.getcwd() + local venv_paths = { + root .. "/.venv/bin/pylsp", + root .. "/venv/bin/pylsp", + root .. "/.env/bin/pylsp", + } - lspconfig.jinja_lsp.setup({}) + for _, path in ipairs(venv_paths) do + if vim.fn.filereadable(path) == 1 then + return path + end + end + return "pylsp" -- Fallback to system pylsp + end - local nmap = function(keys, func, desc) - if desc then - desc = "LSP: " .. desc - end + -- pylsp configuration - auto-detects venv pylsp + vim.lsp.config.pylsp = { + cmd = { find_venv_pylsp() }, + settings = { + pylsp = { + plugins = { + jedi_completion = { enabled = true }, + jedi_hover = { enabled = true }, + jedi_references = { enabled = true }, + jedi_signature_help = { enabled = true }, + jedi_symbols = { enabled = true }, + pycodestyle = { enabled = false }, + pyflakes = { enabled = false }, + pylint = { enabled = false }, + rope_autoimport = { enabled = false }, + type_definition = { enabled = false }, -- Disable missing plugin in older pylsp + }, + }, + }, + } - vim.keymap.set("n", keys, func, { desc = desc }) - end - -- key bindings - nmap("rn", vim.lsp.buf.rename, "[R]e[n]ame") - nmap("ca", vim.lsp.buf.code_action, "[C]ode [A]ction") - nmap("gd", vim.lsp.buf.definition, "[G]oto [D]efinition") - nmap("gr", require("telescope.builtin").lsp_references, "[G]oto [R]eferences") - nmap("gI", vim.lsp.buf.implementation, "[G]oto [I]mplementation") - nmap("D", vim.lsp.buf.type_definition, "Type [D]efinition") - nmap("ds", require("telescope.builtin").lsp_document_symbols, "[D]ocument [S]ymbols") - nmap("ws", require("telescope.builtin").lsp_dynamic_workspace_symbols, "[W]orkspace [S]ymbols") + -- marksman configuration + vim.lsp.config.marksman = {} - -- See `:help K` for why this keymap - nmap("K", vim.lsp.buf.hover, "Hover documentation") - -- nmap("K", vim.lsp.buf.signature_help, "Signature Documentation") + -- ts_ls configuration + vim.lsp.config.ts_ls = {} - -- Lesser used LSP functionality - nmap("gD", vim.lsp.buf.declaration, "[G]oto [D]eclaration") - end, - }, + -- bashls configuration + vim.lsp.config.bashls = {} + + -- ocamllsp configuration + vim.lsp.config.ocamllsp = { + cmd = { "ocamllsp" }, + filetypes = { "ocaml", "ocaml.menhir", "ocaml.interface", "ocaml.ocamllex", "reason", "dune" }, + root_markers = { "*.opam", "esy.json", "package.json", ".git", "dune-project", "dune-workspace" }, + } + + -- gopls configuration + vim.lsp.config.gopls = { + cmd = { "gopls" }, + filetypes = { "go", "gomod", "gowork", "gotmpl" }, + root_markers = { "go.work", "go.mod", ".git" }, + settings = { + gopls = { + completeUnimported = true, + usePlaceholders = true, + analyses = { + unusedparams = true, + }, + }, + }, + } + + -- jinja_lsp configuration + vim.lsp.config.jinja_lsp = {} + + -- Enable the LSP servers + vim.lsp.enable("java_language_server") + vim.lsp.enable("lua_ls") + vim.lsp.enable("pylsp") + vim.lsp.enable("marksman") + vim.lsp.enable("ts_ls") + vim.lsp.enable("bashls") + vim.lsp.enable("ocamllsp") + vim.lsp.enable("gopls") + vim.lsp.enable("jinja_lsp") + + local nmap = function(keys, func, desc) + if desc then + desc = "LSP: " .. desc + end + + vim.keymap.set("n", keys, func, { desc = desc }) + end + -- key bindings + nmap("rn", vim.lsp.buf.rename, "[R]e[n]ame") + nmap("ca", vim.lsp.buf.code_action, "[C]ode [A]ction") + nmap("gd", vim.lsp.buf.definition, "[G]oto [D]efinition") + nmap("gr", require("telescope.builtin").lsp_references, "[G]oto [R]eferences") + nmap("gI", vim.lsp.buf.implementation, "[G]oto [I]mplementation") + nmap("D", vim.lsp.buf.type_definition, "Type [D]efinition") + nmap("ds", require("telescope.builtin").lsp_document_symbols, "[D]ocument [S]ymbols") + nmap("ws", require("telescope.builtin").lsp_dynamic_workspace_symbols, "[W]orkspace [S]ymbols") + + -- See `:help K` for why this keymap + nmap("K", vim.lsp.buf.hover, "Hover documentation") + -- nmap("K", vim.lsp.buf.signature_help, "Signature Documentation") + + -- Lesser used LSP functionality + nmap("gD", vim.lsp.buf.declaration, "[G]oto [D]eclaration") + end, + }, } diff --git a/nvim/lua/plugins/noice.lua b/nvim/lua/plugins/noice.lua index a41af43..0c3f531 100644 --- a/nvim/lua/plugins/noice.lua +++ b/nvim/lua/plugins/noice.lua @@ -17,9 +17,10 @@ return -- lazy.nvim require("noice").setup({ lsp = { -- override markdown rendering so that **cmp** and other plugins use **Treesitter** + -- Disabled due to incompatibility with Neovim 0.11 hover override = { - ["vim.lsp.util.convert_input_to_markdown_lines"] = true, - ["vim.lsp.util.stylize_markdown"] = true, + ["vim.lsp.util.convert_input_to_markdown_lines"] = false, + ["vim.lsp.util.stylize_markdown"] = false, ["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp }, }, @@ -29,7 +30,7 @@ return -- lazy.nvim command_palette = true, -- position the cmdline and popupmenu together long_message_to_split = true, -- long messages will be sent to a split inc_rename = false, -- enables an input dialog for inc-rename.nvim - lsp_doc_border = false, -- add a border to hover docs and signature help + lsp_doc_border = false, -- disabled due to incompatibility with Neovim 0.11 }, }) diff --git a/nvim/lua/plugins/sql.lua b/nvim/lua/plugins/sql.lua new file mode 100644 index 0000000..71d8db1 --- /dev/null +++ b/nvim/lua/plugins/sql.lua @@ -0,0 +1,17 @@ +return { + "kristijanhusak/vim-dadbod-ui", + dependencies = { + { "tpope/vim-dadbod", lazy = true }, + { "kristijanhusak/vim-dadbod-completion", ft = { "sql", "mysql", "plsql", "sqlite" }, lazy = true }, -- Optional + }, + cmd = { + "DBUI", + "DBUIToggle", + "DBUIAddConnection", + "DBUIFindBuffer", + }, + init = function() + -- Your DBUI configuration + vim.g.db_ui_use_nerd_fonts = 1 + end, +} diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua index 94b65b0..1284360 100644 --- a/nvim/lua/plugins/treesitter.lua +++ b/nvim/lua/plugins/treesitter.lua @@ -1,5 +1,6 @@ return { "nvim-treesitter/nvim-treesitter", + dependencies = { "nvim-treesitter/playground" }, build = ":TSUpdate", config = function() local config = require("nvim-treesitter.configs") @@ -8,5 +9,5 @@ return { highlight = { enable = true }, indent = { enable = true }, }) - end + end, }