Add latex plugin

This commit is contained in:
Max Känner 2023-10-24 09:37:06 +02:00
parent 27e75a92ae
commit cc9db47086

View File

@ -1,104 +1,105 @@
local config = { local config = {
options = { options = {
opt = { opt = {
colorcolumn = "80,120", colorcolumn = "80,120",
}, },
g = { g = {
inlay_hints_enabled = true, inlay_hints_enabled = true,
}, },
}, },
lsp = { lsp = {
config = { config = {
rust_analyzer = { rust_analyzer = {
settings = { settings = {
["rust-analyzer"] = { ["rust-analyzer"] = {
cargo = { cargo = {
buildScripts = { enable = true }, buildScripts = { enable = true },
}, },
procMacrto = { enable = true }, procMacrto = { enable = true },
check = { check = {
command = "clippy", command = "clippy",
overrideCommand = "clippy --message-format=json", overrideCommand = "clippy --message-format=json",
}, },
}, },
}, },
}, },
}, },
}, },
-- Add plugins -- Add plugins
plugins = { plugins = {
-- Extended file type support -- Extended file type support
{ "sheerun/vim-polyglot", lazy = false }, { "sheerun/vim-polyglot", lazy = false },
-- Community plugins -- Community plugins
"AstroNvim/astrocommunity", "AstroNvim/astrocommunity",
{ import = "astrocommunity.pack.angular" }, { import = "astrocommunity.pack.angular" },
{ import = "astrocommunity.pack.ansible" }, { import = "astrocommunity.pack.ansible" },
{ import = "astrocommunity.pack.astro" }, { import = "astrocommunity.pack.astro" },
{ import = "astrocommunity.pack.bash" }, { import = "astrocommunity.pack.bash" },
{ import = "astrocommunity.pack.clojure" }, { import = "astrocommunity.pack.clojure" },
{ import = "astrocommunity.pack.cmake" }, { import = "astrocommunity.pack.cmake" },
{ import = "astrocommunity.pack.cpp" }, { import = "astrocommunity.pack.cpp" },
{ import = "astrocommunity.pack.cs" }, { import = "astrocommunity.pack.cs" },
{ import = "astrocommunity.pack.cue" }, { import = "astrocommunity.pack.cue" },
{ import = "astrocommunity.pack.dart" }, { import = "astrocommunity.pack.dart" },
{ import = "astrocommunity.pack.docker" }, { import = "astrocommunity.pack.docker" },
{ import = "astrocommunity.pack.docker" }, { import = "astrocommunity.pack.docker" },
{ import = "astrocommunity.pack.edgedb" }, { import = "astrocommunity.pack.edgedb" },
{ import = "astrocommunity.pack.full-dadbod" }, { import = "astrocommunity.pack.full-dadbod" },
{ import = "astrocommunity.pack.go" }, { import = "astrocommunity.pack.go" },
{ import = "astrocommunity.pack.godot" }, { import = "astrocommunity.pack.godot" },
{ import = "astrocommunity.pack.haskell" }, { import = "astrocommunity.pack.haskell" },
{ import = "astrocommunity.pack.haxe" }, { import = "astrocommunity.pack.haxe" },
{ import = "astrocommunity.pack.helm" }, { import = "astrocommunity.pack.helm" },
{ import = "astrocommunity.pack.html-css" }, { import = "astrocommunity.pack.html-css" },
{ import = "astrocommunity.pack.java" }, { import = "astrocommunity.pack.java" },
{ import = "astrocommunity.pack.json" }, { import = "astrocommunity.pack.json" },
{ import = "astrocommunity.pack.julia" }, { import = "astrocommunity.pack.julia" },
{ import = "astrocommunity.pack.kotlin" }, { import = "astrocommunity.pack.kotlin" },
{ import = "astrocommunity.pack.lua" }, { import = "astrocommunity.pack.lua" },
{ import = "astrocommunity.pack.markdown" }, { import = "astrocommunity.pack.markdown" },
{ import = "astrocommunity.pack.nix" }, { import = "astrocommunity.pack.nix" },
{ import = "astrocommunity.pack.php" }, { import = "astrocommunity.pack.php" },
{ import = "astrocommunity.pack.prisma" }, { import = "astrocommunity.pack.prisma" },
{ import = "astrocommunity.pack.proto" }, { import = "astrocommunity.pack.proto" },
{ import = "astrocommunity.pack.ps1" }, { import = "astrocommunity.pack.ps1" },
{ import = "astrocommunity.pack.python" }, { import = "astrocommunity.pack.python" },
{ import = "astrocommunity.pack.quarto" }, { import = "astrocommunity.pack.quarto" },
{ import = "astrocommunity.pack.ruby" }, { import = "astrocommunity.pack.ruby" },
{ import = "astrocommunity.pack.rust" }, { import = "astrocommunity.pack.rust" },
{ import = "astrocommunity.pack.scala" }, { import = "astrocommunity.pack.scala" },
{ import = "astrocommunity.pack.svelte" }, { import = "astrocommunity.pack.svelte" },
{ import = "astrocommunity.pack.tailwindcss" }, { import = "astrocommunity.pack.tailwindcss" },
{ import = "astrocommunity.pack.terraform" }, { import = "astrocommunity.pack.terraform" },
{ import = "astrocommunity.pack.toml" }, { import = "astrocommunity.pack.toml" },
{ import = "astrocommunity.pack.typescript" }, { import = "astrocommunity.pack.typescript" },
{ import = "astrocommunity.pack.vue" }, { import = "astrocommunity.pack.vue" },
{ import = "astrocommunity.pack.wgsl" }, { import = "astrocommunity.pack.wgsl" },
{ import = "astrocommunity.pack.yaml" }, { import = "astrocommunity.pack.yaml" },
{ import = "astrocommunity.pack.zig" }, { import = "astrocommunity.pack.zig" },
{ import = "astrocommunity.diagnostics.trouble-nvim" }, { import = "astrocommunity.diagnostics.trouble-nvim" },
{ import = "astrocommunity.git.git-blame-nvim" }, { import = "astrocommunity.git.git-blame-nvim" },
{ import = "astrocommunity.markdown-and-latex.vimtex" },
-- use moden inlay hints: -- use moden inlay hints:
{ {
"p00f/clangd_extensions.nvim", "p00f/clangd_extensions.nvim",
optional = true, optional = true,
opts = { extensions = { autoSetHints = true } }, opts = { extensions = { autoSetHints = true } },
}, },
{ {
"simrat39/rust-tools.nvim", "simrat39/rust-tools.nvim",
optional = true, optional = true,
opts = { opts = {
tools = { tools = {
inlay_hints = { auto = true }, inlay_hints = { auto = true },
}, },
}, },
}, },
}, },
} }
return config return config