From e78c45931794e08c40454750ba45527f8b1750e6 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 19 Mar 2022 00:50:30 +0900 Subject: Revert "feat(pack): add gitsigns" This reverts commit 717ad38203bee2dda9345eb52e3853dede6656f8. --- fnl/nvrc/colors.fnl | 2 -- fnl/nvrc/options.fnl | 1 + fnl/nvrc/pack.fnl | 1 - fnl/nvrc/packs/gitsigns.fnl | 12 ------------ 4 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 fnl/nvrc/packs/gitsigns.fnl (limited to 'fnl') diff --git a/fnl/nvrc/colors.fnl b/fnl/nvrc/colors.fnl index ea54216..a26aa68 100644 --- a/fnl/nvrc/colors.fnl +++ b/fnl/nvrc/colors.fnl @@ -16,8 +16,6 @@ (vim.cmd (.. "colorscheme " colorscheme)) - (highlight! :Signcolumn {:bg (. colors :bg)}) - ; Statusline (highlight! :StatusLineNC {:fg (. colors :graphite) :underline true}) (highlight! :StatusLinePad {:fg (. colors :skyblue) :bg (. colors :light_bg)}) diff --git a/fnl/nvrc/options.fnl b/fnl/nvrc/options.fnl index 67f521f..995417d 100644 --- a/fnl/nvrc/options.fnl +++ b/fnl/nvrc/options.fnl @@ -9,6 +9,7 @@ (set! nonumber) (set! norelativenumber) (set! shortmess+ :sI) +(set! signcolumn "auto:3") (set! scrolloff 3) (set! splitbelow) (set! splitright) diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl index 185710e..79b53b5 100644 --- a/fnl/nvrc/pack.fnl +++ b/fnl/nvrc/pack.fnl @@ -26,7 +26,6 @@ (pack! :stefandtw/quickfix-reflector.vim {:ft :qf}) (pack! :tpope/vim-fugitive) (pack! :tpope/vim-eunuch) -(pack! :lewis6991/gitsigns.nvim {:req :gitsigns}) (pack! :hrsh7th/nvim-cmp {:req :cmp :event :InsertEnter :requires [(pack :L3MON4D3/LuaSnip {:module :luasnip}) diff --git a/fnl/nvrc/packs/gitsigns.fnl b/fnl/nvrc/packs/gitsigns.fnl deleted file mode 100644 index c7dbed1..0000000 --- a/fnl/nvrc/packs/gitsigns.fnl +++ /dev/null @@ -1,12 +0,0 @@ -(import-macros {: map!} :nvrc.macro.keymap) - -(local {: setup} (require :gitsigns)) - -(setup {:signs {:add {:text "+"} - :change {:text "~"} - :delete {:text "_"} - :topdelete {:text "‾"} - :changedelete {:text "~"}} - :on_attach (fn [bufnr] - (map! [n :expr] "]c" "&diff ? ']c' : 'Gitsigns next_hunk'") - (map! [n :expr] "[c" "&diff ? '[c' : 'Gitsigns prev_hunk'"))}) -- cgit 1.4.1