From 1877fb07ec1d77ef7514e7b91f63b17373b124c8 Mon Sep 17 00:00:00 2001 From: winston Date: Mon, 5 Dec 2022 10:50:25 +0100 Subject: [PATCH] feat(nvim): revert cond plugins, feline crust bg --- dot_config/nvim/lua/config/feline.lua | 69 ++++++++++++++------------- dot_config/nvim/lua/plugins.lua | 9 +--- 2 files changed, 36 insertions(+), 42 deletions(-) diff --git a/dot_config/nvim/lua/config/feline.lua b/dot_config/nvim/lua/config/feline.lua index 767fdb3..c470b88 100644 --- a/dot_config/nvim/lua/config/feline.lua +++ b/dot_config/nvim/lua/config/feline.lua @@ -2,41 +2,42 @@ local clrs = require("catppuccin.palettes.init").get_palette() local ctp_feline = require("catppuccin.groups.integrations.feline") ctp_feline.setup({ - assets = { - left_separator = "", - right_separator = "", - bar = "█", - mode_icon = " ", - dir = "  ", - file = "  ", - git = { - branch = " ", - }, - }, - sett = { - show_modified = true, - curr_dir = clrs.mauve, - curr_file = clrs.blue, - }, - mode_colors = { - ["n"] = { "NORMAL", clrs.blue }, - }, + assets = { + left_separator = "", + right_separator = "", + bar = "█", + mode_icon = " ", + dir = "  ", + file = "  ", + git = { + branch = " ", + }, + }, + sett = { + show_modified = true, + curr_dir = clrs.mauve, + curr_file = clrs.blue, + bkg = clrs.crust, + }, + mode_colors = { + ["n"] = { "NORMAL", clrs.blue }, + }, }) require("feline").setup({ - components = ctp_feline.get(), - force_inactive = { - filetypes = { - "^packer$", - "^startify$", - "^fugitive$", - "^fugitiveblame$", - "^qf$", - "^help$", - }, - buftypes = { - "^terminal$", - }, - bufnames = {}, - }, + components = ctp_feline.get(), + force_inactive = { + filetypes = { + "^packer$", + "^startify$", + "^fugitive$", + "^fugitiveblame$", + "^qf$", + "^help$", + }, + buftypes = { + "^terminal$", + }, + bufnames = {}, + }, }) diff --git a/dot_config/nvim/lua/plugins.lua b/dot_config/nvim/lua/plugins.lua index f068007..c2ea2c4 100644 --- a/dot_config/nvim/lua/plugins.lua +++ b/dot_config/nvim/lua/plugins.lua @@ -222,10 +222,7 @@ return packer.startup({ end, }) - use({ - "nvim-tree/nvim-web-devicons", - after = "nvim-tree.lua", - }) + use("nvim-tree/nvim-web-devicons") use({ "nvim-tree/nvim-tree.lua", keys = { "" }, @@ -269,20 +266,16 @@ return packer.startup({ use({ "ray-x/go.nvim", requires = "ray-x/guihua.lua", - ft = "go", }) use({ "HallerPatrick/py_lsp.nvim", - ft = "python", }) use({ "simrat39/rust-tools.nvim", - ft = "rust", }) use({ "rcarriga/nvim-dap-ui", - ft = { "go", "python", "rust" }, requires = { "mfussenegger/nvim-dap", "theHamsta/nvim-dap-virtual-text",