mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-24 13:22:23 +00:00
more treesitter
This commit is contained in:
parent
55f141c539
commit
76bf280f9d
4 changed files with 23 additions and 15 deletions
|
@ -15,8 +15,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
; " :: and _ as space ------------------------------------------------------------------- {{{
|
||||
(var remapped-space nil)
|
||||
(fn _G.RebindShit [newKey]
|
||||
|
|
|
@ -44,9 +44,9 @@
|
|||
:diagnostic_visible { :gui "" :guibg colors.dark1 :guifg colors.neutral_red}
|
||||
:diagnostic_selected { :gui "" :guibg colors.neutral_aqua :guifg colors.faded_red}
|
||||
|
||||
:info_diagnostic { :gui "" :guibg "blue" :guifg colors.neutral_yellow}
|
||||
:info_diagnostic_visible { :gui "" :guibg "blue" :guifg colors.neutral_yellow}
|
||||
:info_diagnostic_selected { :gui "" :guibg "blue" :guifg colors.faded_yellow}
|
||||
:info_diagnostic { :gui "" :guibg colors.dark1 :guifg colors.neutral_blue}
|
||||
:info_diagnostic_visible { :gui "" :guibg colors.dark1 :guifg colors.neutral_blue}
|
||||
:info_diagnostic_selected { :gui "" :guibg colors.neutral_aqua :guifg colors.faded_blue}
|
||||
|
||||
:warning_diagnostic { :gui "" :guibg colors.dark1 :guifg colors.neutral_yellow}
|
||||
:warning_diagnostic_visible { :gui "" :guibg colors.dark1 :guifg colors.neutral_yellow}
|
||||
|
|
|
@ -17,20 +17,24 @@
|
|||
(local colors (utils.colors))
|
||||
|
||||
(symbols-outline.setup { :highlight_hovered_item true :show_guides true})
|
||||
(set vim.o.signcolumn "yes")
|
||||
|
||||
(nvim-treesitter-configs.setup
|
||||
{ :ensure_installed "maintained"
|
||||
{ :ensure_installed "all"
|
||||
:highlight { :enable true}
|
||||
:indent { :enable true}
|
||||
:incremental_selection
|
||||
{ :enable true
|
||||
:keymaps { :init_selection "gss"
|
||||
:node_incremental "gsl"
|
||||
:node_decremental "gsh"
|
||||
:scope_incremental "gsj"
|
||||
:scope_decremental "gsk"}}})
|
||||
:indent { :enable true}
|
||||
|
||||
:incremental_selection
|
||||
{ :enable true
|
||||
:keymaps { :init_selection "gss"
|
||||
:node_incremental "gsl"
|
||||
:node_decremental "gsh"
|
||||
:scope_incremental "gsj"
|
||||
:scope_decremental "gsk"}}
|
||||
|
||||
:rainbow { :enable true
|
||||
:extended_mode true}
|
||||
|
||||
:context_commentstring { :enable true}})
|
||||
|
||||
; LSP config -------------------------------------------------------------------------------- {{{{{
|
||||
|
||||
|
@ -151,5 +155,6 @@
|
|||
; }}}}}
|
||||
|
||||
|
||||
(set vim.o.signcolumn "yes")
|
||||
|
||||
; vim:foldmarker={{{{{,}}}}}
|
||||
|
|
|
@ -15,6 +15,11 @@ require("packer").startup(function(use)
|
|||
|
||||
use_rocks "rtsisyk/fun"
|
||||
|
||||
use "p00f/nvim-ts-rainbow"
|
||||
use "romgrk/nvim-treesitter-context"
|
||||
|
||||
use 'JoosepAlviste/nvim-ts-context-commentstring'
|
||||
|
||||
use {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
run = ":TSUpdate"
|
||||
|
|
Loading…
Reference in a new issue