Comments (3)
In many cases either way should work: Setting variables in the layer declaration, or using setq
or setopt
forms in dotspacemacs/user-config
.
Some ideas, though I do not use ess regularly myself:
- Fix the the value of
ess-r-flymake-linters
by escaping the inner quotation marks:
'("object_name_linter(\"CamelCase\")")
- If
flycheck
is enabled iness-r-mode
due to the syntax-checking layer, disable it: (It can also be toggled in a buffer with SPC t s.)
(setopt flycheck-global-modes (remove 'ess-r-mode flycheck-global-modes))
from spacemacs.
I don't know if I'm interpreting 2 correctly, does it imply that I need to take care not two packages are calling for the linter at the same time? Something like a more global one ignoring my config might be taking over?
from spacemacs.
In this particular case, the main problem I see is that the variable ess-r-flymake-linters
only applies to flymake
, and flycheck
would still use some default (in my case snake_case
instead of CamelCase
). This means that CamelCase
variables would still be highlighted as errors, even though flymake
is configured correctly. One could probably also configure flycheck
analogously.
However I'm not sure if it ever makes sense to have both flycheck
and flymake
enabled: I would assume that one of the two packages should suffice for linting a particular buffer at a time and they seem to be alternatives. The ess
package will enable flymake
by default, which can be configured with the variable ess-use-flymake
. If the syntax-checking
layer is used (which is always the case if the lsp
layer is active), the ess
layer will enable flycheck-mode
in ess-r-mode
-buffers, without disabling flymake
. I am not sure whether this is an issue with the ess
layer, perhaps someone else actually using it would know.
Have you already tried if the above solves your problem? It seems to work for me.
from spacemacs.
Related Issues (20)
- Spacemacs is unusable, reporting `Symbol's function definition is void: function-alias-p` HOT 7
- Typescript layer: No ESLint configuration found in project after explicitly setting `exec-path` with project path to ESLint HOT 2
- ESS layer does not bind keys for inferior-ess-mode HOT 1
- a strange space on the number line gutter HOT 7
- mini buffer is hiding other windows HOT 4
- auto-completion is broken if dotspacemacs-scratch-mode enables company
- Building documentation locally HOT 2
- Php Mode keep show this error. HOT 2
- configuration-layer/package-used-p is inconsistent with cfgl-package-used-p HOT 1
- Ruby debugger highlighting false-positives
- Minor improvement: option to disable query for whether to open newly saved file HOT 4
- `git grep` is preferred over `rg` but is massively deficient HOT 2
- Slow opening of tex files HOT 6
- `n` navigation key can search in the wrong direction after exiting `symbol-highlight-transient-state` HOT 1
- Lsp layer changes latex keybindings HOT 5
- Help to add contrib-roam2.el to spacemacs
- M-x broken in the magit status buffer (and potentially others too) HOT 8
- Many shortcuts broken (byte-code: Key sequence M-m h d m starts with non-prefix key M-m) HOT 3
- [low-prio] Warning (lsp-mode): Unknown notification: semgrep/rulesRefreshed HOT 2
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 spacemacs.