updated a bunch

This commit is contained in:
2026-05-20 18:14:15 +02:00
parent 45fb878bd1
commit 8989c7927c
29 changed files with 680 additions and 514 deletions
+4
View File
@@ -72,3 +72,7 @@ cmp.setup({
},
})
-- Disable cmp for markdown notes (no recommendations/autocomplete)
cmp.setup.filetype("markdown", {
enabled = false,
})
+3 -3
View File
@@ -1,7 +1,7 @@
vim.opt.number = true
vim.opt.relativenumber = false
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.relativenumber = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.opt.termguicolors = true
vim.opt.cursorline = true
+34 -9
View File
@@ -54,15 +54,27 @@ require("lazy").setup({
},
-- Markdown Preview Page
{
'MeanderingProgrammer/render-markdown.nvim',
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim'}, -- if you use the mini.nvim suite
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
---@module 'render-markdown'
---@type render.md.UserConfig
opts = {},
},
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function()
require("lazy").load({ plugins = { "markdown-preview.nvim" } })
vim.fn["mkdp#util#install"]()
end,
config = function()
vim.g.mkdp_echo_preview_url = 1
vim.cmd([[
function! OpenMarkdownPreview(url)
call jobstart(['xdg-open', a:url], {'detach': v:true})
endfunction
]])
vim.g.mkdp_browserfunc = "OpenMarkdownPreview"
end,
},
-- Tabs
{ 'romgrk/barbar.nvim',
@@ -90,5 +102,18 @@ require("lazy").setup({
lazy = false, -- neo-tree will lazily load itself
},
-- GitHub Copilot
"github/copilot.vim",
{
"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.g.vimtex_view_method = "zathura"
end
},
})