Compare commits

..
4 Commits
Author SHA1 Message Date
hollorol d1cbed06ee luamason_current_status 2025-12-25 19:45:33 +01:00
hollorol 2baed3ea25 fix update issue 2025-05-24 18:26:31 +02:00
hollorol afbbe29751 latex support 2025-05-17 12:20:01 +02:00
hollorol defc8e2ecd latex support 2025-05-17 12:19:44 +02:00
3 changed files with 28 additions and 23 deletions
+5
View File
@@ -18,3 +18,8 @@ snippet it "item"
\item $0 \item $0
endsnippet endsnippet
snippet listing "Listing"
\begin{lstlisting}
$0
\end{lstlisting}
endsnippet
+19
View File
@@ -0,0 +1,19 @@
return {
"lervag/vimtex",
lazy = false, -- we don't want to lazy load VimTeX
-- tag = "v2.15", -- uncomment to pin to a specific release
init = function()
vim.g.vimtex_view_method = "zathura"
vim.g.vimtex_compiler_latexmk = {
options = {
"-pdf",
"-shell-escape",
"-verbose",
"-file-line-error",
"-synctex=1",
"-interaction=nonstopmode",
},
}
end
}
+4 -23
View File
@@ -2,6 +2,7 @@ return {
-- Mason for managing external tools (LSP servers, linters, etc.) -- Mason for managing external tools (LSP servers, linters, etc.)
{ {
"williamboman/mason.nvim", "williamboman/mason.nvim",
version = "=1.0.1",
config = function() config = function()
require("mason").setup() require("mason").setup()
end end
@@ -9,9 +10,11 @@ return {
-- Mason LSP config to bridge Mason and nvim-lspconfig -- Mason LSP config to bridge Mason and nvim-lspconfig
{ {
"williamboman/mason-lspconfig.nvim", "williamboman/mason-lspconfig.nvim",
version = "=1.0.1",
config = function() config = function()
require("mason-lspconfig").setup { require("mason-lspconfig").setup {
ensure_installed = {"pyright"} ensure_installed = {"pyright"},
automatic_installation = false, -- Set to true to automatically install servers
} }
end end
}, },
@@ -122,28 +125,6 @@ return {
format = lspkind.cmp_format({ with_text = true, maxwidth = 50 }) format = lspkind.cmp_format({ with_text = true, maxwidth = 50 })
} }
}) })
--
-- -- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore).
-- cmp.setup.cmdline('/', {
-- sources = {
-- { name = 'buffer' }
-- }
-- })
--
-- cmp.setup.cmdline('?', {
-- sources = {
-- { name = 'buffer' }
-- }
-- })
--
-- -- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
-- cmp.setup.cmdline(':', {
-- sources = cmp.config.sources({
-- { name = 'path' }
-- }, {
-- { name = 'cmdline' }
-- })
-- })
require("cmp_r").setup({ }) require("cmp_r").setup({ })
end end
} }