Commit graph

12 commits

Author SHA1 Message Date
Folke Lemaitre
8deea64dba
fix(bigfile): check that passed path is the one from the buffer 2025-02-06 19:11:55 +01:00
Folke Lemaitre
7fa92a2450
feat(bigfile): configurable average line length (default = 1000). Useful for minified files. Closes #576. Closes #372 2025-02-06 15:08:26 +01:00
Folke Lemaitre
08852ac7f8
fix(bigfile): check if buf still exists when applying syntax. Fixes #737 2025-01-28 09:10:18 +01:00
Tony
9b8f57b96f
fix(bigfile): check existence of NoMatchParen before executing (#561)
## Description

<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

In my config I use the following flag to disable the default
`MatchParen` plugin.

```
vim.g.loaded_matchparen = 1
```

This causes an error when `bigfile` tries to call the `NoMatchParen`
command since it does not exist.
This PR fixes that by checking for the existence of the command before
executing it.

## Related Issue(s)

<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->
2025-01-16 22:38:14 +01:00
Folke Lemaitre
140204fde5 build: added metadata to plugins 2024-12-10 13:55:51 +01:00
Folke Lemaitre
0194f18cfa refactor: auto-gen plugin types 2024-12-10 13:55:51 +01:00
Folke Lemaitre
891648a483
feat(bigfile): disable matchparen, set foldmethod=manual, set conceallevel=0 2024-12-01 19:48:06 +01:00
Folke Lemaitre
7e6ea65f5f
docs: better docgen using treesitter 2024-11-09 14:42:09 +01:00
Folke Lemaitre
c71f3c84f4
docs: update 2024-11-06 00:35:44 +01:00
Folke Lemaitre
fdc0d3d1f8
feat(bigfile): show message when bigfile was detected 2024-11-05 22:51:22 +01:00
Folke Lemaitre
8d62b285d5
feat: bigfile 2024-11-03 12:56:16 +01:00
Folke Lemaitre
63a24f6eb0
feat: initial commit 2024-11-02 23:24:33 +01:00