This commit is contained in:
2025-08-28 00:58:30 +02:00
parent d033bab96e
commit fe3886fbdf
7 changed files with 63 additions and 4 deletions

View File

@@ -28,7 +28,6 @@ return {
vim.api.nvim_set_hl(0, 'MoltenOutputBorderSuccess', { link = 'MoonflyBlue' })
end,
},
{
-- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
@@ -57,7 +56,7 @@ return {
require('onedark').setup {
style = 'darker',
}
-- require('onedark').load()
end,
},
}

View File

@@ -4,6 +4,24 @@
return {
{
'attilarepka/header.nvim',
keys = {
{ '<leader>bah', '<CMD>AddHeader<CR>', desc = 'add [h]eader' },
{ '<leader>balm', '<CMD>AddMITLicence<CR>', desc = 'add [m]it licence' },
{ '<leader>bala', '<CMD>AddApacheLicence<CR>', desc = 'add [a]pache licence' },
{ '<leader>balg', '<CMD>AddGNULicence<CR>', desc = 'add [g]nu GP License v3' },
{ '<leader>balA', '<CMD>AddAGPLicence<CR>', desc = 'add GNU [A]ffero GP License v3' },
{ '<leader>ball', '<CMD>AddLGPLLicence<CR>', desc = 'add GNU [L]esser GP License' },
{ '<leader>balM', '<CMD>AddMPLLicence<CR>', desc = 'add [M]ozilla Public License' },
{ '<leader>balw', '<CMD>AddWTFPLLicence<CR>', desc = 'add [W]TFPL License' },
{ '<leader>balz', '<CMD>AddZlibLicence<CR>', desc = 'add [z]lib License' },
},
config = true,
init = function()
vim.g.header_field_author = 'Jeff Lance'
vim.g.header_field_author_email = 'email@jefflance.me'
vim.g.header_auto_update_header = 1
vim.g.header_field_filename_path = 1
vim.g.header_field_timestamp_format = '%d.%m.%Y %H:%M:%S'
end,
},
}

View File

@@ -0,0 +1,19 @@
-- latex
--
--
vim.g.maplocalleader = ' ' -- we define a leader available only from tex files
return {
{
'lervag/vimtex',
lazy = false, -- lazy-loading will disable inverse search
config = function()
vim.g.vimtex_mappings_disable = { ['n'] = { 'K' } } -- disable `K` as it conflicts with LSP hover
vim.g.vimtex_quickfix_method = vim.fn.executable 'pplatex' == 1 and 'pplatex' or 'latexlog'
end,
keys = {
{ '<localLeader>l', '', desc = 'LaTeX', ft = 'tex' },
},
},
}

View File

@@ -236,6 +236,11 @@ return {
},
},
},
texlab = {
keys = {
{ '<Leader>K', '<plug>(vimtex-doc-package)', desc = 'Vimtex Docs', silent = true },
},
},
}
-- Ensure the servers and tools above are installed