mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
fix?
This commit is contained in:
parent
ddce09e66d
commit
2bef488b0a
3 changed files with 52 additions and 8 deletions
|
|
@ -23,13 +23,9 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagn
|
||||||
virtual_text = false,
|
virtual_text = false,
|
||||||
})
|
})
|
||||||
|
|
||||||
require("notify").setup({
|
|
||||||
background_colour = "#000000",
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
vim.api.nvim_set_keymap('n', '<PageUp>', '<PageUp>zz', {noremap = true})
|
vim.api.nvim_set_keymap('n', '<PageUp>', '<PageUp>zz', {noremap = true})
|
||||||
vim.api.nvim_set_keymap('n', '<PageDown>', '<PageDown>zz', {noremap = true})
|
vim.api.nvim_set_keymap('n', '<PageDown>', '<PageDown>zz', {noremap = true})
|
||||||
vim.api.nvim_set_keymap('n', '<C-U>', '<C-U>zz', {noremap = true})
|
vim.api.nvim_set_keymap('n', '<C-U>', '<C-U>zz', {noremap = true})
|
||||||
vim.api.nvim_set_keymap('n', '<C-D>', '<C-D>zz', {noremap = true})
|
vim.api.nvim_set_keymap('n', '<C-D>', '<C-D>zz', {noremap = true})
|
||||||
''
|
|
||||||
|
''
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,53 @@
|
||||||
|
|
||||||
with pkgs.vimPlugins;
|
with pkgs.vimPlugins;
|
||||||
[
|
[
|
||||||
{ plugin = catppuccin-nvim; }
|
{ plugin = catppuccin-nvim;
|
||||||
|
config = ''
|
||||||
|
lua << EOF
|
||||||
|
equire("catppuccin").setup({
|
||||||
|
flavour = "mocha", -- latte, frappe, macchiato, mocha
|
||||||
|
background = { -- :h background
|
||||||
|
light = "latte",
|
||||||
|
dark = "mocha",
|
||||||
|
},
|
||||||
|
transparent_background = true, -- disables setting the background color.
|
||||||
|
show_end_of_buffer = false, -- shows the '~' characters after the end of buffers
|
||||||
|
term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`)
|
||||||
|
dim_inactive = {
|
||||||
|
enabled = false, -- dims the background color of inactive window
|
||||||
|
shade = "dark",
|
||||||
|
percentage = 0.15, -- percentage of the shade to apply to the inactive window
|
||||||
|
},
|
||||||
|
no_italic = false, -- Force no italic
|
||||||
|
no_bold = false, -- Force no bold
|
||||||
|
no_underline = false, -- Force no underline
|
||||||
|
styles = { -- Handles the styles of general hi groups (see `:h highlight-args`):
|
||||||
|
comments = { "italic" }, -- Change the style of comments
|
||||||
|
conditionals = { "italic" },
|
||||||
|
loops = {},
|
||||||
|
functions = {},
|
||||||
|
keywords = {},
|
||||||
|
strings = {},
|
||||||
|
variables = {},
|
||||||
|
numbers = {},
|
||||||
|
booleans = {},
|
||||||
|
properties = {},
|
||||||
|
types = {},
|
||||||
|
operators = {},
|
||||||
|
},
|
||||||
|
color_overrides = {},
|
||||||
|
custom_highlights = {},
|
||||||
|
integrations = {
|
||||||
|
cmp = true,
|
||||||
|
gitsigns = true,
|
||||||
|
nvimtree = true,
|
||||||
|
telescope = true,
|
||||||
|
notify = false,
|
||||||
|
mini = false,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
vim.cmd.colorscheme "catppuccin"
|
||||||
|
local mocha = require("catppuccin.palettes").get_palette "mocha"
|
||||||
|
'';
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ in
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
|
|
||||||
extraLuaConfig = import ./config/init.nix;
|
extraConfig = import ./config/init.nix;
|
||||||
plugins = import (./config/plugins) { inherit pkgs lib; };
|
plugins = import (./config/plugins) { inherit pkgs lib; };
|
||||||
extraPackages = import ./config/servers.nix { inherit pkgs; };
|
extraPackages = import ./config/servers.nix { inherit pkgs; };
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue