emacs changes
This commit is contained in:
parent
a5b19fc918
commit
973f577d74
|
@ -48,8 +48,8 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
walker = {
|
||||
url = "github:abenz1267/walker";
|
||||
nix-qml-support = {
|
||||
url = "git+https://git.outfoxxed.me/outfoxxed/nix-qml-support";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
(final: prev: {
|
||||
tree-sitter = prev.tree-sitter.override {
|
||||
extraGrammars = {
|
||||
tree-sitter-qmljs = {
|
||||
tree-sitter-astro = {
|
||||
version = "master";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "yuja";
|
||||
repo = "tree-sitter-qmljs";
|
||||
rev = "35ead5b9955cdb29bcf709d622fa960ff33992b6";
|
||||
sha256 = "jT47lEGuk6YUjcHB0ZMyL3i5PqyUaCQmt0j78cUpy8Q=";
|
||||
owner = "virchau13";
|
||||
repo = "tree-sitter-astro";
|
||||
rev = "4be180759ec13651f72bacee65fa477c64222a1a";
|
||||
sha256 = "qc9InFEQgeFfFReJuQd8WjTNK4fFMEaWcqQUcGxxuBI=";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -47,7 +47,7 @@
|
|||
tree-sitter-nix
|
||||
tree-sitter-prisma
|
||||
tree-sitter-python
|
||||
tree-sitter-qmljs
|
||||
inputs.nix-qml-support.packages.${pkgs.stdenv.system}.tree-sitter-qmljs
|
||||
tree-sitter-regex
|
||||
tree-sitter-rust
|
||||
tree-sitter-scss
|
||||
|
@ -55,24 +55,14 @@
|
|||
tree-sitter-toml
|
||||
tree-sitter-tsx
|
||||
tree-sitter-typescript
|
||||
tree-sitter-astro
|
||||
tree-sitter-vim
|
||||
tree-sitter-yaml
|
||||
];
|
||||
|
||||
custom-emacs =
|
||||
with newpkgs;
|
||||
((emacsPackagesFor (emacs29-pgtk.override { withNativeCompilation = true; })).emacsWithPackages (epkgs: with epkgs; let
|
||||
qml-ts-mode = trivialBuild {
|
||||
pname = "qml-ts-mode";
|
||||
version = "master";
|
||||
src = fetchFromGitHub {
|
||||
owner = "outfoxxed";
|
||||
repo = "qml-ts-mode";
|
||||
rev = "b24b9e78305ed045baa136782623ad16de01b7b8";
|
||||
sha256 = "PgXm/a92cX5zjA9blTrIRH7DfOUczRwb9oBcMMEzF2I=";
|
||||
};
|
||||
};
|
||||
in [
|
||||
((emacsPackagesFor (emacs29-pgtk.override { withNativeCompilation = true; })).emacsWithPackages (epkgs: with epkgs; [
|
||||
avy
|
||||
better-jumper
|
||||
company
|
||||
|
@ -87,6 +77,7 @@
|
|||
flycheck
|
||||
frames-only-mode
|
||||
fussy
|
||||
glsl-mode
|
||||
groovy-mode
|
||||
just-mode
|
||||
kotlin-mode
|
||||
|
@ -99,7 +90,8 @@
|
|||
nasm-mode
|
||||
nix-mode reformatter # required by nix mode
|
||||
projectile
|
||||
qml-ts-mode
|
||||
inputs.nix-qml-support.packages.${pkgs.stdenv.system}.qml-ts-mode
|
||||
astro-ts-mode
|
||||
rainbow-mode
|
||||
string-inflection
|
||||
(treesit-grammars.with-grammars (grammars: tree-sitter-parsers grammars))
|
||||
|
|
Loading…
Reference in a new issue