This commit is contained in:
Never Gude 2026-02-24 16:16:27 +01:00
parent 33cb54e789
commit 225bb398f1
7 changed files with 498 additions and 468 deletions

View file

@ -113,19 +113,18 @@ vim.pack.add({ "https://github.com/nvim-treesitter/nvim-treesitter" })
require("nvim-treesitter").setup()
vim.api.nvim_create_autocmd('FileType', {
pattern = { "lua", "tex", "c", "java", "ocaml", "fish" },
pattern = {'<filetype>', 'tex'},
callback = function()
-- syntax highlighting, provided by Neovim
vim.treesitter.start()
end,
})
-- See `:h lsp-quickstart` for more details.
vim.pack.add({ "https://github.com/mason-org/mason.nvim" })
require("mason").setup()
vim.lsp.enable({ 'lua_ls', 'texlab', 'clangd', 'jdtls', 'ocaml-lsp', 'fish-lsp' })
vim.lsp.enable({ 'lua_ls', 'texlab', 'clangd', 'jdtls', 'fish_lsp', 'html', 'cssls', 'lemminx' })
vim.keymap.set('n', '<leader>lf', vim.lsp.buf.format,
{ desc = 'Formats a buffer using the attached language server clients' })
@ -282,6 +281,9 @@ clue.setup({
-- `z` key
{ mode = { "n", "x" }, keys = "z" },
-- `i/a` key
{ mode = { "n", "x" }, keys = "i" },
},
clues = {