This commit is contained in:
Dario48 2026-03-07 13:29:57 +01:00
commit e685165044
13 changed files with 88 additions and 2 deletions

View file

@ -1,6 +1,8 @@
vim.opt.tabstop = 4
vim.opt.softtabstop = 0
vim.opt.shiftwidth = 0
vim.opt.smartindent = true
vim.opt.shell = "/bin/bash"
vim.opt.linebreak = true
vim.cmd("set wrap smoothscroll")
@ -11,6 +13,8 @@ vim.opt.nu = true
vim.cmd([[set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<,space:•]])
vim.keymap.set("n", "<leader>hc", ":set list!<CR>", { silent = true })
vim.keymap.set("t", "<Esc>", "<C-\\><C-N>", {})
vim.keymap.set("n", ".", ":", {})
vim.keymap.set("i", "jk", "", {})

View file

@ -1,2 +1,11 @@
-- lsp that are not on mason/beta branch lsp
vim.lsp.enable("zls")
vim.lsp.enable("ocamllsp")
vim.lsp.enable("ocamllsp")
vim.lsp.enable("clojure_lsp")
vim.lsp.enable("uiua")
vim.lsp.config("llvm-ir-lsp", {
cmd = { "llvm-ir-lsp" },
filetypes = { "llvm" },
})

8
lua/plugins/ansi.lua Normal file
View file

@ -0,0 +1,8 @@
return {
"0xferrous/ansi.nvim",
config = true,
opts = {
auto_enable = false, -- Auto-enable for configured filetypes
filetypes = { "log", "ansi" }, -- Filetypes to auto-enable
},
}

View file

@ -1,4 +1,17 @@
return {
"3rd/image.nvim",
opts = {},
opts = {
integrations = {
markdown = {
enabled = true,
clear_in_insert_mode = false,
download_remote_images = true,
only_render_image_at_cursor = false,
only_render_image_at_cursor_mode = "popup", -- or "inline"
floating_windows = true, -- if true, images will be rendered in floating markdown windows
filetypes = { "markdown", "vimwiki", "latex" }, -- markdown extensions (ie. quarto) can go here
},
},
},
config = true,
}

View file

@ -60,7 +60,6 @@ return {
},
},
})
vim.lsp.enable("lua_ls")
end,
},
},

4
lua/plugins/peg.lua Normal file
View file

@ -0,0 +1,4 @@
return {
"taeber/vim-peg",
lazy = false,
}

3
lua/plugins/uiua.lua Normal file
View file

@ -0,0 +1,3 @@
return {
"Apeiros-46B/uiua.vim",
}

9
lua/plugins/vimtex.lua Normal file
View file

@ -0,0 +1,9 @@
return {
"lervag/vimtex",
init = function()
-- VimTeX configuration goes here, e.g.
vim.g.vimtex_view_method = "mupdf"
vim.g.vimtex_compiler_method = "latexmk"
vim.g.vimtex_compiler_latexmk = { options = { "-shell-escape" } }
end,
}