this repo has no description
0
fork

Configure Feed

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

nvim: mason and lsp updates

+12 -14
+1 -6
nvim/lazy-lock.json
··· 1 1 { 2 2 "aerial.nvim": { "branch": "master", "commit": "2e00d1d4248f08dddfceacb8d2996e51e13e00f6" }, 3 3 "auto-dark-mode.nvim": { "branch": "master", "commit": "c31de126963ffe9403901b4b0990dde0e6999cc6" }, 4 - "avante.nvim": { "branch": "main", "commit": "8f96d4319df662c8069ce82307d03bb1da2d0554" }, 5 4 "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" }, 6 5 "cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" }, 7 - "copilot.lua": { "branch": "master", "commit": "2fe34db04570f6c47db0b752ca421a49b7357c03" }, 8 6 "copilot.vim": { "branch": "release", "commit": "18f485d892b56b311fd752039d6977333ebc2a0f" }, 9 7 "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, 10 8 "dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, ··· 14 12 "gitlinker.nvim": { "branch": "master", "commit": "cc59f732f3d043b626c8702cb725c82e54d35c25" }, 15 13 "gitsigns.nvim": { "branch": "main", "commit": "43b0c856ae5f32a195d83f4a27fe21d63e6c966c" }, 16 14 "goyo.vim": { "branch": "master", "commit": "fa0263d456dd43f5926484d1c4c7022dfcb21ba9" }, 17 - "img-clip.nvim": { "branch": "main", "commit": "08a02e14c8c0d42fa7a92c30a98fd04d6993b35d" }, 18 15 "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, 19 16 "lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" }, 20 17 "mason-lspconfig.nvim": { "branch": "main", "commit": "d39a75bbce4b8aad5d627191ea915179c77c100f" }, ··· 26 23 "nvim-config-local": { "branch": "main", "commit": "990f3e35e0fba8fb83012d7e85f9a6a77de7f87f" }, 27 24 "nvim-lsp-file-operations": { "branch": "master", "commit": "9744b738183a5adca0f916527922078a965515ed" }, 28 25 "nvim-lspconfig": { "branch": "master", "commit": "4bc481b6f0c0cf3671fc894debd0e00347089a4e" }, 29 - "nvim-tree.lua": { "branch": "master", "commit": "e7d1b7dadc62fe2eccc17d814354b0a5688621ce" }, 30 26 "nvim-treesitter": { "branch": "master", "commit": "28d480e0624b259095e56f353ec911f9f2a0f404" }, 31 27 "nvim-web-devicons": { "branch": "master", "commit": "f1420728f59843eb2ef084406b3d0201a0a0932d" }, 32 28 "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, 33 - "render-markdown.nvim": { "branch": "main", "commit": "935c2c70c296d87ed1bcce9ce667c239c9c982b5" }, 34 29 "rose-pine": { "branch": "main", "commit": "491a0c77abc7ecb955c27a974091a5968232995f" }, 35 - "schemastore.nvim": { "branch": "main", "commit": "ea5687d7e8af3ce6678dd03d3a1bd109b5c618b7" }, 30 + "schemastore.nvim": { "branch": "main", "commit": "c6dfb3dd0f63c1dcd1407714465f81a93f0d9ab6" }, 36 31 "telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" }, 37 32 "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, 38 33 "toggleterm.nvim": { "branch": "main", "commit": "9a88eae817ef395952e08650b3283726786fb5fb" },
+11 -8
nvim/lua/plugins/lsp.lua
··· 3 3 { 4 4 "neovim/nvim-lspconfig", 5 5 dependencies = { 6 - "williamboman/mason.nvim", 6 + "mason-org/mason.nvim", 7 7 "klen/nvim-config-local", 8 8 }, 9 9 config = function() ··· 67 67 "mason-org/mason-lspconfig.nvim", 68 68 dependencies = { 69 69 "neovim/nvim-lspconfig", 70 - "williamboman/mason.nvim", 70 + "mason-org/mason.nvim", 71 71 "klen/nvim-config-local", 72 72 }, 73 73 config = function() ··· 78 78 end 79 79 return util.root_pattern("package.json", "tsconfig.json", ".git")(bufn) 80 80 end 81 + 81 82 require("mason").setup({}) 82 83 require("mason-lspconfig").setup({ 83 84 automatic_enable = false, ··· 94 95 "denols", 95 96 }, 96 97 }) 98 + 97 99 LangServers.lua_ls = { 98 100 settings = { 99 101 Lua = { diagnostics = { globals = { "LangServers" } } }, 100 102 }, 101 103 } 102 104 LangServers.vtsls = { 103 - root_dir = not_deno, 104 - single_file_support = false, 105 + -- root_dir = not_deno, 106 + -- single_file_support = false, 105 107 } 106 108 LangServers.eslint = { 107 109 root_dir = not_deno, ··· 131 133 }, 132 134 }, 133 135 } 136 + 134 137 function SetupLspHandlers() 135 - for server_name, _ in pairs(LangServers) do 136 - if LangServers[server_name] == false then 138 + for server_name, server_config in pairs(LangServers) do 139 + if server_config == false then 137 140 return 138 141 end 139 - vim.lsp.config(server_name, LangServers[server_name] or {}) 142 + vim.lsp.config(server_name, server_config or {}) 140 143 vim.lsp.enable(server_name) 141 144 end 142 145 end ··· 161 164 "antosha417/nvim-lsp-file-operations", 162 165 dependencies = { 163 166 "nvim-lua/plenary.nvim", 164 - "nvim-tree/nvim-tree.lua", 167 + "nvim-neo-tree/neo-tree.nvim", 165 168 }, 166 169 config = function() 167 170 require("lsp-file-operations").setup()