summary refs log tree commit diff
path: root/emacs/etc/snippets (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-26feat(prog): require go-modeFranck Cuny1-7/+5
Change-Id: I2b008d6039714475d7bbf487ac7674dd80b1bac4
2022-06-26feat(prog): enable tree-sitterFranck Cuny2-0/+11
tree-sitter is an incremental parsing system, and this change installs the binding for Emacs. It improves significantly the code highlighting system (as it does not rely on regex when the language is supported by tree-sitter) and improves performance in general. Change-Id: Ibc3d6c7133b323d6cc63ffb248cd83f71ac5c94a
2022-06-26fix(prog): simplify flymake's configuration to work with eglotFranck Cuny1-11/+7
I've been running into issues between flymake and eglot for a while now. After modifying the file, flymake would report errors on possible typo I made while editing, but once I've fixed them, the diagnostic would not be updated until I either restart eglot or kick another flymake run. After some debugging I'm pretty convinced this is due to the variable `flymake-no-changes-timeout`. I've been running for a few hours without it being set and I've not been able to reproduce the problem. The other variables are set to their default value, this is not needed. Change-Id: I770857a93b6d90193f39ee0dceaa19b0b928a3d8
2022-06-21feat(eshell): change the prompt to be like fishFranck Cuny1-0/+31
Change-Id: I8cfd546b668035ff3627cd0ac6a2082cd3d2dea8
2022-06-20fix(prog): use gofmt to format go codeFranck Cuny1-3/+4
When using LSP to format the code, I keep running into weird behavior with eglot. I think it's because the code is being formatted while flymake is running but I need more evidence.
2022-06-20feat(prog): use nixpkgs-fmt to format nix codeFranck Cuny1-0/+1
This is the tool recommend by the nix community to format nix code (see [1]). [1] https://github.com/nix-community/nixpkgs-fmt
2022-06-07fix(aspell): add a new wordFranck Cuny1-1/+2
Change-Id: I2313857ae41a7ac07907c1b23e8cc3068a50d86e Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/288