Commit graph

9 commits

Author SHA1 Message Date
Chris
0b7e8e1b07 fix ts bugs 2021-07-05 19:56:08 -04:00
Anshuman Medhi
6258b2b4ba
Add Treesitter extensions for better textobjects (#700)
This adds three plugins that use treesitters parsing to provide smarter text objects

[ts_textobjects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects) lets you define text objects for things like functions and classes

[ts_textsubjects](https://github.com/RRethy/nvim-treesitter-textsubjects.git) defines a smart text object that selects a semantic block around the cursor

[ts_hintobjects](https://github.com/mfussenegger/nvim-ts-hint-textobject) uses easymotion style hint labeling to show all the surrounding semantic blocks, letting you choose the correct one

I have also added which-key entries for all the above

Co-authored-by: Christian Chiarulli <chris.machine@pm.me>
2021-07-05 19:48:58 -04:00
Rafael
9f511bcb59
start formatting rules 2021-07-04 22:14:01 -03:00
Chris
0d14b91e1e seems to disable everything we may have to use a more complicated method 2021-07-04 10:22:16 -04:00
rob
1ed7392534
Prevent startup errors on first run (#645) 2021-07-04 10:07:11 -04:00
christianchiarulli
5363aa6306 bug fixes 2021-06-28 13:52:49 -04:00
christianchiarulli
be20fb0c64 ts playground option 2021-06-28 13:11:37 -04:00
christianchiarulli
66501fefe7 add some useful plugins to base config and a option to enable extras 2021-05-29 02:49:59 -04:00
christianchiarulli
2cd8c6a21c LunarVim 2021-04-15 00:17:48 -04:00
Renamed from lua/nv-treesitter/init.lua (Browse further)