user/neovim: use correct colors for signify
This commit is contained in:
parent
2631a1fadc
commit
496274c0a5
2 changed files with 9 additions and 16 deletions
|
|
@ -2,8 +2,8 @@
|
||||||
let
|
let
|
||||||
luaconf = pkgs.writeText "config.lua"
|
luaconf = pkgs.writeText "config.lua"
|
||||||
(lib.replaceStrings
|
(lib.replaceStrings
|
||||||
["{{OMNISHARP_PATH}}" "{{DART_PATH}}"]
|
["{{OMNISHARP_PATH}}" "{{DART_PATH}}" "{{CATPPUCCIN_FLAVOUR}}"]
|
||||||
["${pkgs.omnisharp-roslyn}/bin/OmniSharp" "${pkgs.dart}/bin/dart"]
|
["${pkgs.omnisharp-roslyn}/bin/OmniSharp" "${pkgs.dart}/bin/dart" config.catppuccin.nvim.flavor]
|
||||||
(builtins.readFile ../../res/config.lua));
|
(builtins.readFile ../../res/config.lua));
|
||||||
in {
|
in {
|
||||||
systemd.user.tmpfiles.rules = [
|
systemd.user.tmpfiles.rules = [
|
||||||
|
|
|
||||||
|
|
@ -50,24 +50,17 @@ vim.g.vimtex_view_method = "zathura"
|
||||||
|
|
||||||
-- Theming
|
-- Theming
|
||||||
vim.api.nvim_command("syntax enable")
|
vim.api.nvim_command("syntax enable")
|
||||||
-- require("tokyonight").setup({
|
local colors = require("catppuccin.palettes").get_palette "{{CATPPUCCIN_FLAVOUR}}"
|
||||||
-- style = "night"
|
vim.cmd("highlight SignifySignAdd guifg="..colors.green)
|
||||||
-- })
|
vim.cmd("highlight SignifySignChange guifg="..colors.peach)
|
||||||
-- vim.cmd[[
|
vim.cmd("highlight SignifySignDelete guifg="..colors.red)
|
||||||
-- syntax enable
|
vim.cmd("highlight SignifySignDeleteFirstLine guifg="..colors.red)
|
||||||
-- colorscheme tokyonight
|
vim.cmd("highlight SignifySignChangeDelete guifg="..colors.red)
|
||||||
-- ]]
|
|
||||||
-- local colors = require("tokyonight.colors").setup {}
|
|
||||||
-- vim.cmd("highlight SignifySignAdd guifg="..colors.green)
|
|
||||||
-- vim.cmd("highlight SignifySignChange guifg="..colors.orange)
|
|
||||||
-- vim.cmd("highlight SignifySignDelete guifg="..colors.red)
|
|
||||||
-- vim.cmd("highlight SignifySignDeleteFirstLine guifg="..colors.red)
|
|
||||||
-- vim.cmd("highlight SignifySignChangeDelete guifg="..colors.red)
|
|
||||||
|
|
||||||
-- Set this specific highlight group in rust
|
-- Set this specific highlight group in rust
|
||||||
-- Shown when using #[cfg] directives, entire chunks of disabled code has squiggly lines and I don't want
|
-- Shown when using #[cfg] directives, entire chunks of disabled code has squiggly lines and I don't want
|
||||||
-- to see it
|
-- to see it
|
||||||
-- vim.cmd("au FileType rust highlight DiagnosticUnderlineHint ctermfg=14 gui=italic guifg="..colors.comment)
|
vim.cmd("au FileType rust highlight DiagnosticUnderlineHint ctermfg=14 gui=italic guifg="..colors.overlay2)
|
||||||
|
|
||||||
-- Plugins
|
-- Plugins
|
||||||
require('nvim-treesitter.configs').setup {
|
require('nvim-treesitter.configs').setup {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue