changeset 285:d48b05b03ddf

Add treesitter based completion
author zegervdv <zegervdv@me.com>
date Tue, 01 Sep 2020 08:44:03 +0200
parents 3c5523f18d0a
children 6dad02f7604f
files dot_config/kitty/kitty.conf dot_config/nvim/init.lua dot_config/nvim/init.vim
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dot_config/kitty/kitty.conf	Mon Aug 31 08:33:52 2020 +0200
+++ b/dot_config/kitty/kitty.conf	Tue Sep 01 08:44:03 2020 +0200
@@ -40,3 +40,7 @@
 selection_background #ffc24b
 
 clipboard_control write-primary write-clipboard no-append
+
+draw_minimal_borders yes
+active_border_color #b3deef
+inactive_border_color #282828
--- a/dot_config/nvim/init.lua	Mon Aug 31 08:33:52 2020 +0200
+++ b/dot_config/nvim/init.lua	Tue Sep 01 08:44:03 2020 +0200
@@ -44,6 +44,7 @@
     default = {
       {complete_items = {'lsp', 'snippet'}},
       {complete_items = {'path'}, triggered_only = {'/'}},
+      {complete_items = {'ts'}},
       {complete_items = {'buffer'}},
     },
     string = {
--- a/dot_config/nvim/init.vim	Mon Aug 31 08:33:52 2020 +0200
+++ b/dot_config/nvim/init.vim	Tue Sep 01 08:44:03 2020 +0200
@@ -119,6 +119,7 @@
    Plug '~/Projects/nvim-treesitter'
    Plug 'nvim-treesitter/playground'
    Plug 'steelsojka/completion-buffers'
+   Plug 'nvim-treesitter/completion-treesitter'
 endif
 
 " Copying