I'm not gonna bother
This commit is contained in:
@ -1,32 +1,8 @@
|
||||
local nonels_augroup = core.misc.augroup("nullls formatting")
|
||||
|
||||
return {
|
||||
{ "neovim/nvim-lspconfig",
|
||||
reqs = {
|
||||
"mason-org/mason.nvim",
|
||||
"mason-org/mason-lspconfig.nvim"
|
||||
},
|
||||
load = function()
|
||||
core.lsp.setup()
|
||||
require("mason-lspconfig").setup {
|
||||
ensure_added = {
|
||||
"clangd",
|
||||
"mesonlsp",
|
||||
|
||||
"bashls",
|
||||
"jdtls",
|
||||
"lua_ls",
|
||||
|
||||
-- python
|
||||
"basedpyright",
|
||||
"black",
|
||||
"debugpy"
|
||||
}
|
||||
}
|
||||
end
|
||||
},
|
||||
|
||||
{ "mason-org/mason.nvim",
|
||||
reqs = "neovim/nvim-lspconfig",
|
||||
load = function()
|
||||
require("mason").setup {
|
||||
ui = {
|
||||
@ -38,6 +14,8 @@ return {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
core.mason.ensure_installed()
|
||||
end
|
||||
},
|
||||
|
||||
|
@ -10,9 +10,13 @@ return { "L3MON4D3/LuaSnip",
|
||||
load:keymap({"i", "s"}, "<c-e>")
|
||||
load:keymap({"i", "s"}, "<c-j>")
|
||||
load:keymap({"i", "s"}, "<c-k>")
|
||||
load:auto("InsertEnter")
|
||||
end,
|
||||
load = function()
|
||||
local ls = require("luasnip")
|
||||
|
||||
-- replace the builtin snippet handler with luasnip so I get all my fancy
|
||||
-- stuff
|
||||
vim.snippet.expand = ls.lsp_expand
|
||||
|
||||
ls.config.setup {
|
||||
|
@ -151,5 +151,7 @@ return { "nvim-telescope/telescope.nvim",
|
||||
cwd = vim.fs.joinpath(vim.fn.stdpath("data"), "site/pack/deps/opt")
|
||||
}
|
||||
end, { desc = "find files in plugin directory" })
|
||||
|
||||
map("n", "<leader>tt", "<cmd>Telescope<CR>")
|
||||
end
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ return {
|
||||
|
||||
{ "windwp/nvim-ts-autotag",
|
||||
reqs = "nvim-treesitter/nvim-treesitter",
|
||||
disable = not vim.fn.has("nvim-0.9.5"),
|
||||
disable = true,
|
||||
-- lazy = dep_short.auto({ "BufReadPre", "BufNewFile" }),
|
||||
load = function()
|
||||
require("nvim-ts-autotag").setup {}
|
||||
|
Reference in New Issue
Block a user