neovim configuration using rocks.nvim plugin manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: macos issues

+13 -6
+7
init.lua
··· 2 2 vim.g.rocks_nvim={ 3 3 _log_level = vim.log.levels.INFO 4 4 } 5 + if vim.fn.has('mac') == 1 then 6 + vim.g.rocks_nvim = vim.tbl_deep_extend("force", vim.g.rocks_nvim, { 7 + luarocks_config = { 8 + arch = "macosx-aarch64" 9 + } 10 + }) 11 + end 5 12 require("core.keymaps") 6 13 require("core.abbrevs") 7 14 require("core.options")
+1 -1
lua/plugins/rest.lua
··· 3 3 vim.opt.rtp:prepend(vim.fs.normalize("$HOME/repo/rest.nvim")) 4 4 local parser_dir = "$HOME/.cache/tree-sitter/lib/http.so" 5 5 if vim.fn.has("macunix") == 1 then 6 - parser_dir = "$HOME/Library/Caches/tree-sitter/lib/http.so" 6 + parser_dir = "$HOME/Library/Caches/tree-sitter/lib/http.dylib" 7 7 end 8 8 vim.treesitter.language.add("http", { path = vim.fs.normalize(parser_dir) }) 9 9 if not vim.treesitter.language.get_lang("http") then
+5 -5
rocks.toml
··· 15 15 # List of Neovim plugins to install alongside their versions. 16 16 # If the plugin name contains a dot then you must add quotes to the key name! 17 17 [plugins] 18 - "rocks.nvim" = "2.36.1" 18 + "rocks.nvim" = "2.37.0" 19 19 "rocks-git.nvim" = "2.0.1" 20 20 "rocks-dev.nvim" = "1.3.0" 21 - "rocks-config.nvim" = "2.1.4" 21 + "rocks-config.nvim" = "2.2.0" 22 22 "rocks-edit.nvim" = "scm" 23 - "rocks-treesitter.nvim" = { dir = "~/repo/rocks-treesitter.nvim"} 23 + "rocks-treesitter.nvim" = "1.0.3" 24 24 # harpoon uses plenary.nvim 25 25 "plenary.nvim" = "scm" 26 26 nvim-lspconfig = "0.1.8" ··· 57 57 # nvim-cmp = { git = "hrsh7th/nvim-cmp" } 58 58 # cmp-nvim-lsp = { git = "hrsh7th/cmp-nvim-lsp" } 59 59 # for some plugins that needs legacy api (e.g. nvim-surround) 60 - nvim-treesitter-textobjects = { dir = "~/repo/nvim-treesitter-textobjects" } 60 + # nvim-treesitter-textobjects = { dir = "~/repo/nvim-treesitter-textobjects" } 61 61 nvim-lint = "scm" 62 62 tree-sitter-gomod = "scm" 63 63 tree-sitter-dockerfile = "scm" ··· 78 78 tree-sitter-gitattributes = "scm" 79 79 tree-sitter-graphql = "scm" 80 80 tree-sitter-xml = "0.0.2" 81 - tree-sitter-nix = "scm" 81 + tree-sitter-nix = "0.0.5" 82 82 nvim-ufo = "1.4.0" 83 83 "telescope.nvim" = "scm" 84 84