this repo has no description
0
fork

Configure Feed

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

more convenient lsp setup

+52 -25
+6 -4
nvim/lazy-lock.json
··· 1 1 { 2 2 "auto-dark-mode.nvim": { "branch": "master", "commit": "d365beccca05ffcb01e50109f2adca2459c3995a" }, 3 - "avante.nvim": { "branch": "main", "commit": "cb09c749fadc2c9fa88167326fc7a22d5a19a22c" }, 3 + "avante.nvim": { "branch": "main", "commit": "8699ada7b23778e4adb6ba69ed916023a09f790c" }, 4 4 "bufferline.nvim": { "branch": "main", "commit": "5c528bee3dd797d5bd6bae5f229411939b25b203" }, 5 5 "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, 6 6 "copilot.lua": { "branch": "master", "commit": "f8d8d872bb319f640d5177dad5fbf01f7a16d7d0" }, 7 7 "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, 8 - "dressing.nvim": { "branch": "master", "commit": "c334ac73e031f0dc93d6d91f3658ee75b8be1d3b" }, 9 - "gitlab.nvim": { "branch": "main", "commit": "341d56a1cbecbe5a1a4684ec4b116ee6da8df858" }, 8 + "dressing.nvim": { "branch": "master", "commit": "6ef1ca479d37d4ff66f13eed44d08912caff483a" }, 9 + "gitlab.nvim": { "branch": "main", "commit": "30daecfb608f6fb793fe0770c4487961e46f8c6f" }, 10 10 "gitlinker.nvim": { "branch": "master", "commit": "cc59f732f3d043b626c8702cb725c82e54d35c25" }, 11 11 "gitsigns.nvim": { "branch": "main", "commit": "4daf7022f1481edf1e8fb9947df13bb07c18e89a" }, 12 12 "goyo.vim": { "branch": "master", "commit": "fa0263d456dd43f5926484d1c4c7022dfcb21ba9" }, 13 13 "img-clip.nvim": { "branch": "main", "commit": "28a32d811d69042f4fa5c3d5fa35571df2bc1623" }, 14 14 "lazy.nvim": { "branch": "main", "commit": "b1134ab82ee4279e31f7ddf7e34b2a99eb9b7bc9" }, 15 + "mason-lspconfig.nvim": { "branch": "main", "commit": "4d0e5b49363cac187326998b96aa6a2884e0e89b" }, 15 16 "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, 16 - "neoconf.nvim": { "branch": "main", "commit": "c32fd1d852e45cc03ed0729a2f5bec040ff9f065" }, 17 + "neoconf.nvim": { "branch": "main", "commit": "e2528134b185e68f8c7a5584de46a3269037de6b" }, 17 18 "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" }, 18 19 "nvim-cmp": { "branch": "main", "commit": "f17d9b4394027ff4442b298398dfcaab97e40c4f" }, 19 20 "nvim-comment": { "branch": "main", "commit": "e9ac16ab056695cad6461173693069ec070d2b23" }, ··· 27 28 "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, 28 29 "toggleterm.nvim": { "branch": "main", "commit": "5969229c0352ff1ed7f6e24aba9c6554e1842939" }, 29 30 "trouble.nvim": { "branch": "main", "commit": "2f3b537f2207ce32f4459f9d56746ee013b5e01b" }, 31 + "vim-prisma": { "branch": "main", "commit": "95c5b25066efb34c75bce78698baa371fe0ee7c2" }, 30 32 "vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" }, 31 33 "which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" } 32 34 }
-1
nvim/lua/config/keys.lua
··· 91 91 { "<leader>gg", "<cmd>LazyGit<cr>", desc = "Lazygit" }, 92 92 { "<leader>gs", "<cmd>Telescope git_status<cr>", desc = "Git status" }, 93 93 { "<leader>gd", "<cmd>Gitsigns diffthis vertical=true HEAD<cr>", desc = "File diff" }, 94 - { "<leader>gD", "<cmd>DiffviewOpen<cr>", desc = "Git diff" }, 95 94 { "<leader>Gd", ":Gitsigns diffthis vertical=true ", desc = "File diff provided ref" }, 96 95 { "<leader>GD", ":DiffviewOpen ", desc = "Diff provided ref" }, 97 96 { "<leader>gh", "<cmd>DiffviewFileHistory<cr>", desc = "File history" },
+8 -1
nvim/lua/plugins/cmp-nvim-lsp.lua
··· 1 - return { "hrsh7th/cmp-nvim-lsp", opts = {} } 1 + return { 2 + "hrsh7th/cmp-nvim-lsp", 3 + dependencies = { 4 + "neovim/nvim-lspconfig", 5 + "hrsh7th/nvim-cmp" 6 + }, 7 + opts = {}, 8 + }
+20
nvim/lua/plugins/mason-lspconfig.lua
··· 1 + return { 2 + "williamboman/mason-lspconfig.nvim", 3 + dependencies = { 4 + "folke/neoconf.nvim", 5 + "williamboman/mason.nvim", 6 + }, 7 + config = function() 8 + require("mason-lspconfig").setup() 9 + require("mason-lspconfig").setup_handlers({ 10 + function(server_name) 11 + local disabled = require("neoconf").get( 12 + "servers." .. server_name .. ".disable" 13 + ) 14 + if disabled then return end 15 + 16 + require("lspconfig")[server_name].setup({}) 17 + end, 18 + }) 19 + end, 20 + }
+3 -1
nvim/lua/plugins/neoconf.lua
··· 1 1 return { 2 2 "folke/neoconf.nvim", 3 - opts = {}, 3 + config = function() 4 + require("neoconf").setup() 5 + end, 4 6 }
+4 -1
nvim/lua/plugins/nvim-cmp.lua
··· 1 - return { "hrsh7th/nvim-cmp", opts = {} } 1 + return { 2 + "hrsh7th/nvim-cmp", 3 + opts = {}, 4 + }
+2 -16
nvim/lua/plugins/nvim-lspconfig.lua
··· 1 1 return { 2 2 "neovim/nvim-lspconfig", 3 3 dependencies = { 4 + "williamboman/mason.nvim", 5 + "williamboman/mason-lspconfig.nvim", 4 6 "folke/neoconf.nvim", 5 7 }, 6 8 config = function() ··· 11 13 lspconfig_defaults.capabilities, 12 14 require("cmp_nvim_lsp").default_capabilities() 13 15 ) 14 - 15 - lspc.vtsls.setup({}) 16 - lspc.eslint.setup({}) 17 - lspc.prismals.setup({}) 18 - 19 - lspc.denols.setup({ 20 - settings = { deno = { enabled = false } }, 21 - }) 22 - 23 - lspc.gitlab_ci_ls.setup({}) 24 - 25 - lspc.spectral.setup({}) 26 - 27 - lspc.yamlls.setup({}) 28 - 29 - lspc.lua_ls.setup({}) 30 16 end, 31 17 }
+1
nvim/lua/plugins/prisma.lua
··· 1 + return { "prisma/vim-prisma" }
-1
nvim/lua/plugins/trouble.lua
··· 22 22 size = 45, 23 23 }, 24 24 format = "{kind_icon} {symbol.name}", 25 - 26 25 }, 27 26 }, 28 27 },
+8
nvim/neoconf.json
··· 1 1 { 2 + "neoconf": { 3 + "plugins": { 4 + "lspconfig": { 5 + "enabled": true 6 + } 7 + } 8 + }, 9 + "lspconfig": {} 2 10 }