From: Ruben Beltran del Rio Date: Wed, 4 Oct 2023 15:09:16 +0000 (+0200) Subject: Replace old api-notation.vim with tree-sitter plugin X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/442118e66a483875ef14262d7b4a89c1fda0ae68?hp=61e218399cbb9d8c29bd7589d01bbedeface7411 Replace old api-notation.vim with tree-sitter plugin --- diff --git a/config/nvim/lazy-lock.json b/config/nvim/lazy-lock.json index a32d9a5..c889dfb 100644 --- a/config/nvim/lazy-lock.json +++ b/config/nvim/lazy-lock.json @@ -1,15 +1,15 @@ { "LargeFile": { "branch": "master", "commit": "3941a37b2b0288524300348a39521a46539bf9f6" }, - "api-notation.vim": { "branch": "master", "commit": "b6f0708fb9f009b7051db514423e9ebf86bc9af4" }, "fzf-lua": { "branch": "main", "commit": "1ff0278882db9786fef6f77cbcea7d8fa4b9ccee" }, "gemini.vim": { "branch": "master", "commit": "c9efb59c97b71c28d4678c79fd21fbdd3a69d196" }, - "lazy.nvim": { "branch": "main", "commit": "59335c5b9d116f5d3948f833288a89e2a829a005" }, - "neodev.nvim": { "branch": "main", "commit": "5147640bc8435ca3557a105ebd1143bc20420b60" }, + "lazy.nvim": { "branch": "main", "commit": "82da5a004867be2cc96c345430d9381f991cf2e6" }, + "neodev.nvim": { "branch": "main", "commit": "7e1e64744bf1701a173e80c8577caeb3bf04053e" }, "nvim-dap": { "branch": "master", "commit": "b3d4408e29d924fe130c9397a7c3b3630b3ea671" }, "nvim-dap-ui": { "branch": "master", "commit": "34160a7ce6072ef332f350ae1d4a6a501daf0159" }, - "nvim-lspconfig": { "branch": "master", "commit": "ac478757efcde1ac346f7044ab774e7cbb482533" }, - "nvim-treesitter": { "branch": "master", "commit": "d96c216c54cc2d48d3c66ba7f0fc3c7c5b71b3b1" }, + "nvim-lspconfig": { "branch": "master", "commit": "71b39616b14c152da34fcc787fa27f09bf280e72" }, + "nvim-treesitter": { "branch": "master", "commit": "691fdc61a13ecca2f5cf0c2abda4b5da87c54893" }, "snes-syntax-vim": { "branch": "master", "commit": "a6a699c8905f7b6119bf91e44f960667d9f03d59" }, + "tree-sitter-api-notation": { "branch": "main", "commit": "2694356b41ecccd9bd50836ea1686598c94ff56c" }, "vim-closer": { "branch": "master", "commit": "6007d9db0a35e983af246b667282606612076b07" }, "vim-endwise": { "branch": "master", "commit": "e714ac3bcfd5a90038de49c3254eded7c70ae3c3" }, "vim-fugitive": { "branch": "master", "commit": "99db68d9b3304580bd383da7aaee05c7a954a344" }, diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index 0a43a3e..7946aea 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -44,7 +44,6 @@ require('lazy').setup({ }, -- Syntaxes - 'https://git.sr.ht/~rbdr/api-notation.vim', 'ARM9/snes-syntax-vim', 'https://git.sr.ht/~torresjrjr/gemini.vim', @@ -59,6 +58,7 @@ require('lazy').setup({ -- Treesitter 'nvim-treesitter/nvim-treesitter', + 'https://git.sr.ht/~rbdr/tree-sitter-api-notation', -- LSP 'neovim/nvim-lspconfig', diff --git a/config/nvim/lua/treesitter_config.lua b/config/nvim/lua/treesitter_config.lua index fc4a4a7..32e4ed2 100644 --- a/config/nvim/lua/treesitter_config.lua +++ b/config/nvim/lua/treesitter_config.lua @@ -1,6 +1,7 @@ require'nvim-treesitter.configs'.setup { -- A list of parser names, or "all" (the five listed parsers should always be installed) ensure_installed = { + 'api_notation', 'bash', 'css', 'dart',