Modules/Neovim: Fix termcolors in neovide
This commit is contained in:
@@ -158,6 +158,15 @@ in {
|
|||||||
viAlias = neovim.alias;
|
viAlias = neovim.alias;
|
||||||
vimAlias = 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
|
# Configured using plugin
|
||||||
# colorschemes.catppuccin = {
|
# colorschemes.catppuccin = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
@@ -367,6 +376,7 @@ in {
|
|||||||
light = "latte";
|
light = "latte";
|
||||||
dark = "mocha";
|
dark = "mocha";
|
||||||
};
|
};
|
||||||
|
term_colors = true;
|
||||||
# https://github.com/catppuccin/nvim/tree/main?tab=readme-ov-file#integrations
|
# https://github.com/catppuccin/nvim/tree/main?tab=readme-ov-file#integrations
|
||||||
default_integrations = true;
|
default_integrations = true;
|
||||||
integrations = {
|
integrations = {
|
||||||
@@ -403,6 +413,7 @@ in {
|
|||||||
# custom_bg = "crust";
|
# custom_bg = "crust";
|
||||||
};
|
};
|
||||||
notify = true;
|
notify = true;
|
||||||
|
terminal = true;
|
||||||
treesitter = true;
|
treesitter = true;
|
||||||
ufo = true;
|
ufo = true;
|
||||||
rainbow_delimiters = true;
|
rainbow_delimiters = true;
|
||||||
@@ -435,6 +446,7 @@ in {
|
|||||||
# pkg = inputs.blink-cmp.packages.${system}.default;
|
# pkg = inputs.blink-cmp.packages.${system}.default;
|
||||||
pkg = pkgs.vimPlugins.blink-cmp;
|
pkg = pkgs.vimPlugins.blink-cmp;
|
||||||
lazy = true;
|
lazy = true;
|
||||||
|
dependencies = [luasnip];
|
||||||
event = ["InsertEnter"];
|
event = ["InsertEnter"];
|
||||||
config = mkDefaultConfig name;
|
config = mkDefaultConfig name;
|
||||||
|
|
||||||
@@ -482,6 +494,10 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
snippets = {
|
||||||
|
preset = "luasnip";
|
||||||
|
};
|
||||||
|
|
||||||
fuzzy = {
|
fuzzy = {
|
||||||
frecency.enabled = true;
|
frecency.enabled = true;
|
||||||
use_proximity = true;
|
use_proximity = true;
|
||||||
@@ -1933,6 +1949,7 @@ in {
|
|||||||
shell = "fish";
|
shell = "fish";
|
||||||
direction = "horizontal"; # 'vertical' | 'horizontal' | 'window' | 'float'
|
direction = "horizontal"; # 'vertical' | 'horizontal' | 'window' | 'float'
|
||||||
auto_scroll = true;
|
auto_scroll = true;
|
||||||
|
clear_env = false;
|
||||||
|
|
||||||
float_opts = {
|
float_opts = {
|
||||||
border = "curved"; # 'single' | 'double' | 'shadow' | 'curved'
|
border = "curved"; # 'single' | 'double' | 'shadow' | 'curved'
|
||||||
@@ -2110,18 +2127,24 @@ in {
|
|||||||
pkg = pkgs.vimPlugins.vimtex;
|
pkg = pkgs.vimPlugins.vimtex;
|
||||||
init = ''
|
init = ''
|
||||||
function()
|
function()
|
||||||
vim.g.vimtex_mappings_enabled = false
|
vim.g.vimtex_mappings_enabled = true
|
||||||
vim.g.vimtex_view_method = "zathura"
|
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 = {
|
vim.g.vimtex_compiler_latexmk = {
|
||||||
options = {
|
options = {
|
||||||
"-shell-escape",
|
"-verbose",
|
||||||
"-file-line-error",
|
"-file-line-error",
|
||||||
"-synctex=1",
|
"-synctex=1",
|
||||||
"-interaction=nonstopmode",
|
"-interaction=nonstopmode",
|
||||||
|
"-shell-escape",
|
||||||
},
|
},
|
||||||
aux_dir = ".aux",
|
aux_dir = ".aux",
|
||||||
out_dir = ".out",
|
out_dir = ".out",
|
||||||
}
|
}
|
||||||
|
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ if g.neovide then
|
|||||||
|
|
||||||
-- Neovide Fonts
|
-- Neovide Fonts
|
||||||
-- o.guifont = "JetBrainsMono Nerd Font Mono:h12:Medium"
|
-- o.guifont = "JetBrainsMono Nerd Font Mono:h12:Medium"
|
||||||
o.guifont = "MonoLisa Alt:h12:Medium"
|
o.guifont = "MonoLisa Alt Script:h12:Medium"
|
||||||
else
|
else
|
||||||
-- require("notify").notify("Not running in NeoVide")
|
-- require("notify").notify("Not running in NeoVide")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user