This commit is contained in:
elkowar 2021-04-30 18:23:38 +02:00
parent af044d5adf
commit cc6754014a
2 changed files with 31 additions and 6 deletions

View file

@ -5,6 +5,7 @@
kb keybinds kb keybinds
utils utils utils utils
nvim-treesitter-configs nvim-treesitter.configs} nvim-treesitter-configs nvim-treesitter.configs}
;gitsigns gitsigns}
require-macros [macros]}) require-macros [macros]})
(require "plugins.telescope") (require "plugins.telescope")
@ -12,14 +13,17 @@
(require "plugins.galaxyline") (require "plugins.galaxyline")
(require "plugins.bufferline") (require "plugins.bufferline")
(local colors (utils.colors))
;(set nvim.g.conjure#client#fennel#aniseed#aniseed_module_prefix "aniseed.") ;(set nvim.g.conjure#client#fennel#aniseed#aniseed_module_prefix "aniseed.")
(nvim-treesitter-configs.setup (nvim-treesitter-configs.setup
{ :ensure_installed "all" { :ensure_installed "all"
:highlight { :enable true :highlight { :enable true
:disable ["fennel"] } :disable ["fennel"]}
:indent { :enable true } :indent { :enable true
:disable ["lua"]}
:incremental_selection :incremental_selection
{ :enable true { :enable true
@ -34,7 +38,26 @@
:context_commentstring { :enable true}}) :context_commentstring { :enable true}})
; " :: and _ as space ------------------------------------------------------------------- <<<<<
; gitsigns.nvim - inactive due to weird issue with keybinds not being removable <<<<<
; https://github.com/lewis6991/gitsigns.nvim
;(gitsigns.setup
;{ :signs { :add {:text "▍"}
;:change {:text "▍"}
;:delete {:text "▍"}
;:topdelete {:text "▍"}
;:changedelete {:text "▍"}}}
;{ :keymaps { :noremap true :buffer true}
;:current_line_blame false})
;(utils.highlight "GitSignsAdd" {:bg "NONE" :fg colors.bright_aqua})
;(utils.highlight "GitSignsDelete" {:bg "NONE" :fg colors.neutral_red})
;(utils.highlight "GitSignsChange" {:bg "NONE" :fg colors.bright_blue})
; >>>>>
; " :: and _ as space ------------------------------------------------------------------- <<<<<})
(var remapped-space nil) (var remapped-space nil)
(fn _G.RebindShit [newKey] (fn _G.RebindShit [newKey]
(set remapped-space {:old (vim.fn.maparg :<Space> :i) (set remapped-space {:old (vim.fn.maparg :<Space> :i)

View file

@ -15,11 +15,11 @@ require("packer").startup(function(use)
use_rocks "rtsisyk/fun" use_rocks "rtsisyk/fun"
use 'pwntester/octo.nvim'
use "p00f/nvim-ts-rainbow" use "p00f/nvim-ts-rainbow"
use "romgrk/nvim-treesitter-context" use "romgrk/nvim-treesitter-context"
use 'JoosepAlviste/nvim-ts-context-commentstring' use 'JoosepAlviste/nvim-ts-context-commentstring'
use { use {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
run = ":TSUpdate" run = ":TSUpdate"
@ -60,6 +60,8 @@ require("packer").startup(function(use)
} }
use "mhinz/vim-signify" use "mhinz/vim-signify"
--use "lewis6991/gitsigns.nvim"
use "tpope/vim-fugitive" use "tpope/vim-fugitive"
use "preservim/nerdcommenter" use "preservim/nerdcommenter"
use "glepnir/galaxyline.nvim" use "glepnir/galaxyline.nvim"