From b02ac58a5de139b62716ccf7c700c8488c077c7d Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 5 Oct 2023 10:30:17 -0400 Subject: Add swhkd syntax + debloat --- lua/ben/plugins/colorscheme.lua | 63 ----------------------------------------- lua/ben/plugins/go.lua | 1 + lua/ben/plugins/syntax.lua | 7 +++++ 3 files changed, 8 insertions(+), 63 deletions(-) create mode 100644 lua/ben/plugins/syntax.lua (limited to 'lua/ben') diff --git a/lua/ben/plugins/colorscheme.lua b/lua/ben/plugins/colorscheme.lua index 1d8cb72..4f28054 100644 --- a/lua/ben/plugins/colorscheme.lua +++ b/lua/ben/plugins/colorscheme.lua @@ -33,69 +33,6 @@ return { vim.cmd([[hi Search guifg='#810002' guibg='#738c9c']]) end, }, - -- A multi-themed plugin - { - "EdenEast/nightfox.nvim", - -- priority = 1000, - lazy = true, - config = function() - require("nightfox").setup({ - options = { - -- Compiled file's destination location - compile_path = vim.fn.stdpath("cache") .. "/nightfox", - compile_file_suffix = "_compiled", -- Compiled file suffix - transparent = true, -- Disable setting background - terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal` - dim_inactive = false, -- Non focused panes set to alternative background - module_default = true, -- Default enable value for modules - colorblind = { - enable = false, -- Enable colorblind support - simulate_only = false, -- Only show simulated colorblind colors and not diff shifted - severity = { - protan = 0, -- Severity [0,1] for protan (red) - deutan = 0, -- Severity [0,1] for deutan (green) - tritan = 0, -- Severity [0,1] for tritan (blue) - }, - }, - styles = { -- Style to be applied to different syntax groups - -- bold - -- underline - -- undercurl curly underline - -- underdouble double underline - -- underdotted dotted underline - -- underdashed dashed underline - -- strikethrough - -- reverse - -- inverse same as reverse - -- italic - -- standout - -- altfont - -- nocombine override attributes instead of combining them - -- NONE no attributes used (used to reset it) - comments = "italic", -- Value is any valid attr-list value `:help attr-list` - conditionals = "NONE", - constants = "bold", - functions = "italic", - keywords = "NONE", - numbers = "NONE", - operators = "NONE", - strings = "NONE", - types = "NONE", - variables = "NONE", - }, - inverse = { -- Inverse highlight for different types - match_paren = true, - visual = false, - search = false, - }, - }, - palettes = {}, - specs = {}, - groups = {}, - }) - vim.cmd([[colo terafox]]) - end, - }, -- Backup retro colorscheme { "djpohly/elly.vim", diff --git a/lua/ben/plugins/go.lua b/lua/ben/plugins/go.lua index 2d5e17c..72e42e7 100644 --- a/lua/ben/plugins/go.lua +++ b/lua/ben/plugins/go.lua @@ -8,6 +8,7 @@ return { "ray-x/guihua.lua", "neovim/nvim-lspconfig", "nvim-treesitter/nvim-treesitter", + "ray-x/guihua.lua", }, config = function() require("go").setup() diff --git a/lua/ben/plugins/syntax.lua b/lua/ben/plugins/syntax.lua new file mode 100644 index 0000000..8b2af10 --- /dev/null +++ b/lua/ben/plugins/syntax.lua @@ -0,0 +1,7 @@ +return { + -- This layout allows to fit multiple syntax plugins in a single file + { + "waycrate/swhkd-vim", + ft = { "swhkd" }, + }, +} -- cgit v1.2.3