b4 major changes
This commit is contained in:
parent
6ee690987a
commit
c0ea7b465b
4 changed files with 136 additions and 57 deletions
|
@ -11,6 +11,7 @@ return {
|
|||
{
|
||||
"jinzhongjia/LspUI.nvim",
|
||||
config = true,
|
||||
branch = "legacy",
|
||||
},
|
||||
{
|
||||
"VidocqH/lsp-lens.nvim",
|
||||
|
@ -353,6 +354,15 @@ return {
|
|||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"zbirenbaum/copilot.lua",
|
||||
opts = {
|
||||
suggestion = {
|
||||
auto_trigger = true,
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
-- language mixing also OTTER
|
||||
{
|
||||
"jmbuhr/otter.nvim",
|
||||
|
@ -443,6 +453,38 @@ return {
|
|||
},
|
||||
"aurum77/dotnet.nvim",
|
||||
|
||||
-- mojo
|
||||
{
|
||||
"czheo/mojo.vim",
|
||||
init = function()
|
||||
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
|
||||
pattern = { "*.🔥" },
|
||||
callback = function()
|
||||
if vim.bo.filetype ~= "mojo" then
|
||||
vim.bo.filetype = "mojo"
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "mojo",
|
||||
callback = function()
|
||||
local modular = vim.env.MODULAR_HOME
|
||||
local lsp_cmd = modular .. "/pkg/packages.modular.com_mojo/bin/mojo-lsp-server"
|
||||
|
||||
vim.bo.expandtab = true
|
||||
vim.bo.shiftwidth = 4
|
||||
vim.bo.softtabstop = 4
|
||||
|
||||
vim.lsp.start({
|
||||
name = "mojo",
|
||||
cmd = { lsp_cmd },
|
||||
})
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
||||
-- themes
|
||||
"xiyaowong/transparent.nvim",
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue