Compare commits
No commits in common. "041391864a8e2f1050b629628dbcdd43daee14b6" and "0d82ed72dca1d0b9ef354ae1133ea8d3822b8259" have entirely different histories.
041391864a
...
0d82ed72dc
4 changed files with 20 additions and 72 deletions
|
@ -8,26 +8,22 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"folke/noice.nvim",
|
"folke/noice.nvim",
|
||||||
-- opts = {
|
opts = {
|
||||||
-- presets = {
|
presets = {
|
||||||
-- command_palette = false,
|
command_palette = false,
|
||||||
-- },
|
},
|
||||||
-- https://github.com/folke/noice.nvim/wiki/Configuration-Recipes#ignore-certain-lsp-servers-for-progress-messages
|
},
|
||||||
-- routes = {
|
},
|
||||||
|
-- add emoji completion
|
||||||
-- {
|
-- {
|
||||||
-- filter = {
|
-- "hrsh7th/nvim-cmp",
|
||||||
-- event = "lsp",
|
-- dependencies = { "hrsh7th/cmp-emoji" },
|
||||||
-- kind = "msg_show";
|
-- ---@param opts cmp.ConfigSchema
|
||||||
-- cond = function(message)
|
-- opts = function(_, opts)
|
||||||
-- local client = vim.tbl_get(message.opts, "progress", "client")
|
-- local cmp = require("cmp")
|
||||||
-- return client == "nim_langserver"
|
-- opts.sources = cmp.config.sources(vim.list_extend(opts.sources, { { name = "emoji" } }))
|
||||||
-- end,
|
-- end,
|
||||||
-- },
|
-- },
|
||||||
-- opts = { skip = true },
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
|
@ -39,7 +35,12 @@ return {
|
||||||
"json",
|
"json",
|
||||||
"yaml",
|
"yaml",
|
||||||
|
|
||||||
|
"go",
|
||||||
"regex",
|
"regex",
|
||||||
|
|
||||||
|
"javascript",
|
||||||
|
"tsx",
|
||||||
|
"typescript",
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,7 +3,6 @@ local plugins = {}
|
||||||
|
|
||||||
local single_host_plugins = {
|
local single_host_plugins = {
|
||||||
othalan = {
|
othalan = {
|
||||||
{ "aklt/plantuml-syntax" },
|
|
||||||
{ "kaarmu/typst.vim" },
|
{ "kaarmu/typst.vim" },
|
||||||
{
|
{
|
||||||
"mickael-menu/zk-nvim",
|
"mickael-menu/zk-nvim",
|
||||||
|
|
|
@ -1,46 +0,0 @@
|
||||||
-- based on: https://raw.githubusercontent.com/LazyVim/LazyVim/main/lua/lazyvim/plugins/extras/lang/tex.lua
|
|
||||||
return {
|
|
||||||
-- Add BibTeX/LaTeX to treesitter
|
|
||||||
-- some issue with latex treesitter
|
|
||||||
-- {
|
|
||||||
-- "nvim-treesitter/nvim-treesitter",
|
|
||||||
-- opts = function(_, opts)
|
|
||||||
-- opts.highlight = opts.highlight or {}
|
|
||||||
-- if type(opts.ensure_installed) == "table" then
|
|
||||||
-- vim.list_extend(opts.ensure_installed, { "bibtex" })
|
|
||||||
-- end
|
|
||||||
-- if type(opts.highlight.disable) == "table" then
|
|
||||||
-- vim.list_extend(opts.highlight.disable, { "latex" })
|
|
||||||
-- else
|
|
||||||
-- opts.highlight.disable = { "latex" }
|
|
||||||
-- end
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
--
|
|
||||||
{
|
|
||||||
"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 = "+vimtext" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Correctly setup lspconfig for LaTeX 🚀
|
|
||||||
{
|
|
||||||
"neovim/nvim-lspconfig",
|
|
||||||
optional = true,
|
|
||||||
opts = {
|
|
||||||
servers = {
|
|
||||||
texlab = {
|
|
||||||
keys = {
|
|
||||||
{ "<Leader>K", "<plug>(vimtex-doc-package)", desc = "Vimtex Docs", silent = true },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -12,12 +12,6 @@ config.window_padding = {
|
||||||
bottom = padding,
|
bottom = padding,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- https://github.com/NixOS/nixpkgs/issues/336069
|
|
||||||
-- https://github.com/wez/wezterm/issues/5990
|
|
||||||
-- why though front_end ?
|
|
||||||
-- OpenGL on nix?
|
|
||||||
config.front_end = "WebGpu"
|
|
||||||
|
|
||||||
config.color_scheme = "Catppuccin Mocha"
|
config.color_scheme = "Catppuccin Mocha"
|
||||||
config.use_fancy_tab_bar = false
|
config.use_fancy_tab_bar = false
|
||||||
config.hide_tab_bar_if_only_one_tab = true
|
config.hide_tab_bar_if_only_one_tab = true
|
||||||
|
|
Loading…
Reference in a new issue