Comments (9)
I feel that using prog-mode-hook
is good enough. Most programming modes that would benefit from flycheck are derived from prog-mode anyways.
from flycheck.
@bbatsov Probably text-mode-hook
too, to catch latex-mode
and probably other markup languages, too, that might get syntax checkers in future.
from flycheck.
#97 suggests that hooks may not be enough, even though the affected mode is badly written in this case.
from flycheck.
@bbatsov I will merge the aforementioned commit into master
soon. The recommended way to enable Flycheck globally is global-flycheck-mode
then.
You may want to update Prelude accordingly once this issue is closed.
from flycheck.
OK, I'll do that.
from flycheck.
@bbatsov Ok, I'll notify you again once the branch is merged. Before that, it still needs some unit tests.
from flycheck.
@bbatsov The branch is merged, (global-flycheck-mode)
is now the recommended way to enable Flycheck.
You may want to use kind of a conditional construct in Prelude, though, to maintain compatibility with previous versions of Flycheck:
(if (fboundp 'global-flycheck-mode)
(global-flycheck-mode)
(add-hook …))
from flycheck.
Done.
from flycheck.
Cool, thanks for your support.
from flycheck.
Related Issues (20)
- Terraform-tflint command line arguments have changed HOT 1
- flycheck wrong type argument HOT 2
- Flycheck clears the selection mark when selecting text with errors HOT 2
- Running `global-flycheck-mode` errors if no "Tools" menu on startup HOT 3
- PHP - Warning about A file should declare new symbols... HOT 1
- test failure: flycheck-define-checker/awk-gawk/syntax-error HOT 1
- Flycheck's Emacs Lisp checker is unable to identify functions defined in nested block
- flycheck in buffers with no file name
- *compilation* buffer takes precedence when it exists
- Is CLA assistant working ? HOT 4
- Rust: couldn't create a temp dir: Operation not permitted HOT 1
- Need a version of flycheck-define-checker and flycheck-define-command-checker that doesn't have to have the checker executable be hard-coded to a string but rather looked up dynamically HOT 1
- Problems setting up PHP_CodeSniffer in Emacs HOT 1
- Support oxlint please HOT 2
- Discrepancy between flycheck-compile output and Flycheck errors buffer using slim-lint checker HOT 2
- Consider downgrading seq dep version HOT 7
- Error when loading: Eager macro-expansion skipped due to cycle HOT 3
- Checker `python-ruff` fails for Python buffers not visiting a file. HOT 18
- Hardcoded "python3" value for executable breaks Windows installs HOT 4
- Flycheck reports 'the function ... is not known to be defined' for autoloaded elisp function. Why? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flycheck.