Commit Graph

46 Commits

Author SHA1 Message Date
b29d169afb perf(treesitter): load treesitter early during startup when opening a file from the cmdline 2024-05-14 21:41:56 +02:00
8301096c31 perf(treesitter): dont let nvim-treesitter-textobjects stall loading treesitter 2024-05-14 21:36:43 +02:00
eb9f9a8862 fix(keymaps): update all keymap descriptions to be Title Case (#2844) 2024-03-27 08:56:44 +01:00
7a5dbeae75 feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +01:00
ddbba85408 chore(treesitter.lua): fix typo (#2026)
* fix typo

* fix typo
2024-03-07 11:48:37 +01:00
1b0b899ab3 feat(treesitter): add xml to ensure_installed (#1962) 2024-03-07 11:47:45 +01:00
1e1b68d633 fix(treesitter): make treesitter queries available at startup. See #1816 Fixes #1858 2023-10-25 15:40:25 +02:00
82da2440e4 fix(nvim-ts-autotag): make it actually work :) 2023-10-19 19:54:36 +02:00
0ac8f6fb3b fix(treesitter-context): set default max_lines=3 2023-10-19 07:52:47 +02:00
5e1a86d3b2 feat(toggle): add keymap to toggle treesitter context (#1711)
* feat: add keymap to toggle treesitter context

* fix: get correct enabled state

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-10-14 14:40:25 +02:00
7b2c317407 feat(treesitter): add nvim-treesitter-context by default 2023-10-12 11:48:02 +02:00
cb7f5aca7a feat(treesitter): install nvim-ts-autotag by default 2023-10-12 11:48:02 +02:00
599798a366 fix(treesitter): typo with commands 2023-10-10 11:07:58 +02:00
88d465c3ef fix(hypr): automatically update/install hypr treesitter parser when needed 2023-10-10 07:51:02 +02:00
e11a3cbe80 fix(config): trigger LazyFile additionally on BufWritePre for saving unnamed files 2023-10-08 15:17:50 +02:00
c9bbb922e5 feat(treesitter): add diff, jsonc and yaml by default 2023-10-08 12:56:27 +02:00
1935486ff1 fix(treesitter-textobjects): use normal ]c,]C,[c,[C when in diff-mode instead of goto class. Fixes #1610 2023-10-07 15:06:13 +02:00
86de423ef0 fix(treesitter): dont enable ]c, [c, ... in diff-mode 2023-10-04 21:00:32 +02:00
936d74bb61 perf: added support for LazyFile event that properly loads file based plugins without blocking the ui 2023-10-04 10:45:10 +02:00
0e66ef8393 feat(treesitter): added ]f, [f, ]F, [F, ]c, ]C, [c, [C for treesitter-textobjects 2023-10-04 00:21:47 +02:00
566049aa4a feat(treesitter): add jsdoc to ensure_installed (#1252)
better highlighting for jsdoc comment
2023-07-30 11:10:45 +02:00
6323b419fd docs: Add more documentation (#1174) 2023-07-20 23:16:13 +02:00
09fafb946a perf(treesitter): better way of loading treesitter-textobjects 2023-06-22 11:43:32 +02:00
6b1efe78e2 feat(treesitter): allow run TSUpdateSync from command line (#944)
Use a script to keep the neovim updated is really useful, but is not
possible by default because TSUpdateSync is not on `cmd` commands.

```sh
nvim --headless "+Lazy! sync" "+TSUpdateSync" +qa
```
2023-06-19 16:09:23 +02:00
d41ef05cc0 feat(mini.comment)!: removed ts-context-commentstring since mini.comment provides this functionality out of the box
If you use this plugin, you can add it again with the following code:
{
  "nvim-treesitter/nvim-treesitter",
  opts = {
    context_commentstring = {
      enable = true,
      enable_autocmd = false,
    },
  },
  dependencies = {
    "JoosepAlviste/nvim-ts-context-commentstring",
  },
}
2023-05-12 20:34:36 +02:00
14e708a246 fix: remove unintentional <lt>nop> mapping (#651) 2023-04-21 09:21:34 +02:00
1d2c97cbda fix(treesitter): de-duplicate langs in endure_installed. Fixes #628 2023-04-19 16:45:02 +02:00
078250a114 refactor(treesitter)!: rename help to vimdoc (#521) 2023-04-15 23:11:29 +02:00
59eb19835f feat(treesitter): use Python indents as they've improved greatly (#490) 2023-03-25 09:42:57 +01:00
ade4342c42 feat(treesitter): add luadoc (#469) 2023-03-21 07:27:13 +01:00
f441faad03 feat: add luap to nvim-treesitter ensure_installed (#383) 2023-03-05 09:08:51 +01:00
9dd2487529 fix: rename more appropriately (also a typo) (#378) 2023-03-04 08:40:37 +01:00
fc765e9e3d fix(treesitter): always install all built-in treesitter parsers to prevent queriy issues 2023-02-27 19:38:29 +01:00
079c685831 refactor(treesitter): nil-check 2023-02-20 16:01:02 +01:00
0eef2c2f29 fix(treesitter): nil check #312 (#313)
Co-authored-by: Alexander Born <alexander.born@bmw.de>
2023-02-20 15:58:52 +01:00
de6a28b781 fix(treesitter): disable indent only for python right now 2023-02-18 13:14:47 +01:00
329a2daff4 fix(treesitter): disable treesitter indent by default, since it has too many issues. See #297 2023-02-18 12:40:25 +01:00
94ebe25ccb fix(treesitter-textobjects): only disable the textobject plugins/* files when its not enabled in the treesitter opts 2023-02-16 20:12:54 +01:00
5f5a564a82 fix(plugins): lazy-loading on BufReadPre or BufReadPost, should also use BufNewFile. Fixes #169 2023-02-07 21:59:33 +01:00
65fb26fe97 refactor: removed deprecation warnings from before 1.0.0 2023-01-25 09:00:33 +01:00
ba0040230e refactor(treesitter)!: use <bs> in visual mode to shrink delection. Fixes #71 2023-01-17 14:44:52 +01:00
876d52fee3 fix(windows): set version=false for treesitter. Last release is too old and broken on Windows. Fixes #2 2023-01-16 23:36:05 +01:00
3af1922f21 feat(treesitter): added incremental selection 2023-01-16 21:22:47 +01:00
2135bc144c refactor(plugins)!: plugins now use lazy.nvim's new opts property to make it far easier to override options 2023-01-08 15:05:34 +01:00
b38465b50e refactor(treesitter): make it easier to override installed parsers 2023-01-07 10:52:19 +01:00
8eb8d235c9 refactor: move everything under lazyvim 2023-01-01 14:33:56 +01:00