micro-editor / micro-editor/micro
How do you just disable linting without disabling the linter plugin?
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description of the problem or steps to reproduce
I am not really a fan of linting in terminal based text editors. Therefore I wanted to disable it, but all I could do was disabling the linter plugin itself. But when disabling the linter plugin micro always complains about some unknown function when executing:
Plugin misspell: misspell:8: attempt to index a non-table object(nil) with key 'makeLinter'
stack traceback:
misspell:8: in main chunk
[G]: ?
Press enter to continue
Is there a way to just disable linting?
Specifications
Version: 2.0.11
Commit hash: 225927b9
Compiled on August 09, 2022
OS: Garuda Linux (Arch)
Terminal: alacritty (fish)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported error when the linter plugin is disabled, using the misspell plugin and its makeLinter call described in the issue. Trace the plugin configuration and linting entry points to determine whether linting can be disabled independently, then verify that the plugin remains enabled without producing the reported unknown-function error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100