Comments (10)
Yep, you're right!
It seems that seq-difference
expects the bigger set to be the first one! I've pushed a fix, can you pull it and try again?
Thanks again
from minemacs.
It seems treesit-auto is not doing its job
treesit-auto-install-all
also nothing happened
from minemacs.
Thank you for the feedback @hmanhng ,
It seems weird! You can temporarily add (push 'nix-ts-mode minemacs-disabled-packages)
to your modules.el
in order to disable the package until I take a look at it!
from minemacs.
As I understand it, the following 2 lines will push treesit are not installed to treesit-auto-langs but when I check the variable treesit-auto-langs
it returns nil. Perhaps the error lies here ?
from minemacs.
Now it works with other languages except nix-ts-mode
. There are 2 issue with nix-ts-mode
nix-ts-mode doesn't work with hs-minor-mode- There is issue with (
treesit-auto
,tree-sitter-nix
), when I try bothnix-mode
andnix-ts-mode
they don't install automatically, buttreesit-auto-install-all
did installtree-sitter-nix
and worked on bothnix-mode
andnix-ts-mode
from minemacs.
3c5d6e9 I don't know why you deleted these lines, it will remove nix
from treesit-auto-langs
and make it impossible to install
from minemacs.
What I wanted to achieve with these lines 3c5d6e9 was to only try to install language grammars that are not already installed (due to an issue with a previous version of treesit-auto
. However, setting the treesit-auto-langs
this way resulted in an empty list, which disables the mode mapping (i.e. mapping x-mode
to x-ts-mode
).
Can you confirm that the libtree-sitter-nix.so
has been installed (to ~/.emacs.d/local/tree-sitter/
) ?
from minemacs.
When reverting 3c5d6e9, Emacs won't remap the modes when the grammars are installed. Practically, it will only work on the first session (when grammars aren't installed), and once installed and restarted Emacs, it will raise other problems.
For example, see: https://github.com/renzmann/treesit-auto/blob/07a8f924cd4f020a2eb32b45d8543af9556f355d/treesit-auto.el#L461C30-L461C30
The (treesit-auto--selected-recipes)
function (which depends on treesit-auto-langs
) is used in several places. Which make any change to treesit-auto-langs
affect this.
from minemacs.
if there is no nix
in treesit-auto-langs
then I won't be able to install it even with treesit-auto-install-all
from minemacs.
Indeed. Well in this case, just adding nix
to treesit-auto-langs
will fix the issue.
I've pushed a fix for this.
Thanks for you patience! @hmanhng
from minemacs.
Related Issues (20)
- [suggest] about font set HOT 6
- [BUG] plantUML - export with Org HOT 1
- [BUG] treemacs Can't use keys space HOT 2
- [BUG] about consult-yank HOT 3
- [BUG] about magit HOT 2
- [question] How to replace search results HOT 3
- [BUG] Issue with elpa Folder Deletion HOT 2
- [BUG] Not Loading config.el file HOT 3
- [BUG] Melpa folder gets put in the trash on MacOS HOT 1
- [Question] how to define my own module?
- [BUG] [Windows] Emacs freeze on file recovery HOT 10
- [BUG] theme revert back during commit change with magit HOT 1
- [BUG] Hook `minemacs-first-file-hook` doesn't seem to run HOT 34
- [BUG] Warning: ‘+spell-fu-register-dictionaries!’ is an obsolete HOT 1
- [BUG] Jinx compilation failed [Windows] HOT 4
- [BUG] Export org to latex and opening them doesn't work HOT 3
- [BUG] Bug with Corfu HOT 17
- [BUG] Asking for "Font installation directory" each startup HOT 2
- Cannot use LSP Servers, stuck on "starting" HOT 3
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 minemacs.