Modules/Neovim: Fix termcolors in neovide

This commit is contained in:
2026-07-01 01:46:26 +02:00
parent a68b74d940
commit 4dc535bf7f
2 changed files with 26 additions and 3 deletions
+25 -2
View File
@@ -158,6 +158,15 @@ in {
viAlias = neovim.alias;
vimAlias = neovim.alias;
# extraPackages = let
# yazi-termfix = pkgs.writeShellScriptBin "yazi" ''
# export TERM=xterm-kitty
# exec ${pkgs.yazi}/bin/yazi "@$"
# '';
# in [
# yazi-termfix
# ];
# Configured using plugin
# colorschemes.catppuccin = {
# enable = true;
@@ -367,6 +376,7 @@ in {
light = "latte";
dark = "mocha";
};
term_colors = true;
# https://github.com/catppuccin/nvim/tree/main?tab=readme-ov-file#integrations
default_integrations = true;
integrations = {
@@ -403,6 +413,7 @@ in {
# custom_bg = "crust";
};
notify = true;
terminal = true;
treesitter = true;
ufo = true;
rainbow_delimiters = true;
@@ -435,6 +446,7 @@ in {
# pkg = inputs.blink-cmp.packages.${system}.default;
pkg = pkgs.vimPlugins.blink-cmp;
lazy = true;
dependencies = [luasnip];
event = ["InsertEnter"];
config = mkDefaultConfig name;
@@ -482,6 +494,10 @@ in {
};
};
snippets = {
preset = "luasnip";
};
fuzzy = {
frecency.enabled = true;
use_proximity = true;
@@ -1933,6 +1949,7 @@ in {
shell = "fish";
direction = "horizontal"; # 'vertical' | 'horizontal' | 'window' | 'float'
auto_scroll = true;
clear_env = false;
float_opts = {
border = "curved"; # 'single' | 'double' | 'shadow' | 'curved'
@@ -2110,18 +2127,24 @@ in {
pkg = pkgs.vimPlugins.vimtex;
init = ''
function()
vim.g.vimtex_mappings_enabled = false
vim.g.vimtex_mappings_enabled = true
vim.g.vimtex_view_method = "zathura"
vim.g.vimtex_syntax_conceal_disable = true;
vim.g.vimtex_compiler_method = "latexmk"
vim.g.vimtex_compiler_clean_paths = {"_minted*", "svg-inkscape*"}
vim.g.vimtex_compiler_latexmk = {
options = {
"-shell-escape",
"-verbose",
"-file-line-error",
"-synctex=1",
"-interaction=nonstopmode",
"-shell-escape",
},
aux_dir = ".aux",
out_dir = ".out",
}
end
'';
};
@@ -20,7 +20,7 @@ if g.neovide then
-- Neovide Fonts
-- o.guifont = "JetBrainsMono Nerd Font Mono:h12:Medium"
o.guifont = "MonoLisa Alt:h12:Medium"
o.guifont = "MonoLisa Alt Script:h12:Medium"
else
-- require("notify").notify("Not running in NeoVide")
end