add mason and nvim-dap
This commit is contained in:
parent
d06df9d56d
commit
246e6cc507
4 changed files with 13 additions and 0 deletions
3
init.lua
3
init.lua
|
|
@ -12,6 +12,8 @@ end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
require("lazy").setup("plugins")
|
require("lazy").setup("plugins")
|
||||||
|
require("mason").setup()
|
||||||
|
require("mason-lspconfig").setup()
|
||||||
|
|
||||||
-- My user settings:
|
-- My user settings:
|
||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
|
|
@ -26,3 +28,4 @@ vim.cmd([[colorscheme everforest]])
|
||||||
local lspconfig = require('lspconfig')
|
local lspconfig = require('lspconfig')
|
||||||
lspconfig.pylsp.setup{}
|
lspconfig.pylsp.setup{}
|
||||||
lspconfig.clangd.setup{}
|
lspconfig.clangd.setup{}
|
||||||
|
lspconfig.gopls.setup{}
|
||||||
|
|
|
||||||
4
lua/plugins/mason-nvim.lua
Normal file
4
lua/plugins/mason-nvim.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
return {{
|
||||||
|
"williamboman/mason.nvim",
|
||||||
|
"williamboman/mason-lspconfig.nvim",
|
||||||
|
}}
|
||||||
3
lua/plugins/nvim-dap-ui.lua
Normal file
3
lua/plugins/nvim-dap-ui.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
return {{
|
||||||
|
"rcarriga/nvim-dap-ui"
|
||||||
|
}}
|
||||||
3
lua/plugins/nvim-dap.lua
Normal file
3
lua/plugins/nvim-dap.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
return {{
|
||||||
|
"mfussenegger/nvim-dap",
|
||||||
|
}}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue