langages.lua (1850B)
1 return { 2 { 3 "tarides/ocaml.nvim", 4 config = function() 5 require("ocaml").setup() 6 end, 7 }, 8 9 { 10 "windwp/nvim-ts-autotag", 11 ft = { "javascript", "javascriptreact", "typescript", "typescriptreact" }, 12 config = function() 13 require("nvim-ts-autotag").setup({}) 14 end, 15 }, 16 17 { 18 "mfussenegger/nvim-dap", 19 }, 20 21 { 22 "theHamsta/nvim-dap-virtual-text", 23 lazy = false, 24 config = function(_, opts) 25 require("nvim-dap-virtual-text").setup(opts) 26 end, 27 }, 28 29 { 30 "olexsmir/gopher.nvim", 31 ft = "go", 32 config = function(_, opts) 33 require("gopher").setup(opts) 34 end, 35 build = function() 36 vim.cmd([[silent! GoInstallDeps]]) 37 end, 38 }, 39 40 { 41 "nvim-treesitter/nvim-treesitter", 42 build = ":TSUpdate", 43 main = "nvim-treesitter.configs", -- Sets main module to use for opts 44 config = function() 45 require("dracuxan.plugins.treesitter") -- Loads the Treesitter configuration 46 end, 47 }, 48 49 { 50 "hrsh7th/nvim-cmp", 51 dependencies = { 52 { 53 "L3MON4D3/LuaSnip", 54 build = (function() 55 if vim.fn.has("win32") == 1 or vim.fn.executable("make") == 0 then 56 return 57 end 58 return "make install_jsregexp" 59 end)(), 60 dependencies = { 61 { 62 "rafamadriz/friendly-snippets", 63 config = function() 64 require("luasnip.loaders.from_lua").lazy_load({ 65 paths = "~/.config/nvim/lua/luasnip/snippets/", 66 }) 67 require("luasnip.loaders.from_vscode").lazy_load() 68 end, 69 }, 70 }, 71 }, 72 "saadparwaiz1/cmp_luasnip", 73 "hrsh7th/cmp-nvim-lsp", 74 "hrsh7th/cmp-buffer", 75 "hrsh7th/cmp-path", 76 }, 77 config = function() 78 require("dracuxan.plugins.cmp") 79 end, 80 }, 81 82 { 83 "nvimtools/none-ls.nvim", 84 dependencies = { 85 "nvimtools/none-ls-extras.nvim", 86 "jayp0521/mason-null-ls.nvim", -- ensures dependencies are installed 87 }, 88 config = function() 89 require("dracuxan.plugins.none-ls") 90 end, 91 }, 92 }