Compare commits
4
Commits
2e52bc9839
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1cbed06ee | ||
|
|
2baed3ea25 | ||
|
|
afbbe29751 | ||
|
|
defc8e2ecd |
@@ -18,3 +18,8 @@ snippet it "item"
|
|||||||
\item $0
|
\item $0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet listing "Listing"
|
||||||
|
\begin{lstlisting}
|
||||||
|
$0
|
||||||
|
\end{lstlisting}
|
||||||
|
endsnippet
|
||||||
|
|||||||
@@ -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
|
||||||
|
}
|
||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user