Updated vim macros
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 22s

This commit is contained in:
2024-06-21 08:06:01 +02:00
parent f33b495d12
commit 39b9d351c0
7 changed files with 57 additions and 10 deletions

View File

@@ -61,6 +61,7 @@ require("mason").setup(require("mason").setup({
require("mason-lspconfig").setup({
-- ensure_installed = { "clangd", "cmake", "jdtls", "texlab", "pylsp" },
ensure_installed = { "clangd" },
})
require("mason-lspconfig").setup_handlers({

View File

@@ -65,4 +65,19 @@ return {
{ "tzachar/cmp-fuzzy-buffer", requires = { "hrsh7th/nvim-cmp", "tzachar/fuzzy.nvim" } },
"jaredgorski/spacecamp",
"voldikss/vim-floaterm",
-- {
-- "lervag/vimtex",
-- lazy = false, -- we don't want to lazy load VimTeX
-- -- tag = "v2.15", -- uncomment to pin to a specific release
-- init = function()
-- -- VimTeX configuration goes here, e.g.
-- vim.o.foldmethod = "expr"
-- vim.o.foldexpr = "vimtex#fold#level(v:lnum)"
-- vim.o.foldtext = "vimtex#fold#text()"
-- vim.o.foldlevel = 1
-- vim.g.vimtex_view_general_viewer = "okular"
-- vim.g.vimtex_view_general_options = "--unique file:@pdf#src:@line@tex"
-- vim.g.vimtex_fold_enabled = 1
-- end,
--},
}

View File

@@ -27,6 +27,7 @@ vim.opt.encoding = "UTF-8"
vim.g.tex_flavor = "latex"
vim.opt.conceallevel = 2
vim.opt.showmatch = true
vim.o.guifont = "Source Code Pro:h13"
-- set color scheme
vim.opt.termguicolors = true
@@ -39,4 +40,3 @@ vim.opt.mouse = ""
-- set copy mode
vim.keymap.set("n", "<leader>ll", ":set nonumber<cr>")
vim.keymap.set("n", "<leader>lm", ":set number<cr>")