Skip to content

Commit

Permalink
Disable tree sitter
Browse files Browse the repository at this point in the history
  • Loading branch information
psibi committed Dec 12, 2022
1 parent d676119 commit 3bd2844
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
19 changes: 3 additions & 16 deletions .emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -102,21 +102,8 @@
(setq ac-ignore-case nil)
(ac-config-default)))

(use-package tree-sitter
:config
(progn
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)))

(use-package tree-sitter-langs
:config
(progn
(add-to-list 'tree-sitter-major-mode-language-alist '(markdown-mode . markdown))))

(use-package markdown-mode
;; :ensure t
:quelpa (markdown-mode :fetcher file
:path "~/github/markdown-mode"
:files ("*.el"))
:ensure t
:bind (:map markdown-mode-map
;; ("C-c p" . markdown-previous-visible-heading)
("C-c n" . markdown-next-visible-heading))
Expand Down Expand Up @@ -147,7 +134,7 @@
(lsp-configure . lsp-lens-mode)
(terraform-mode . lsp-deferred))
:custom
(lsp-disabled-clients '(tfls clangd))
(lsp-disabled-clients '(tfls clangd rls))
;; (lsp-log-io t)
(lsp-log-io nil)
(lsp-semantic-tokens-enable t)
Expand Down Expand Up @@ -207,7 +194,7 @@
:bind (:map rustic-mode-map
("M-j" . lsp-ui-imenu)
("M-?" . lsp-find-references)
("C-c C-d" . deadgrep)
("C-c C-c C-i" . rustic-cargo-install)
("C-c C-c l" . flycheck-list-errors)
("C-c C-c a" . lsp-execute-code-action)
("C-c C-c r" . lsp-rename)
Expand Down
5 changes: 4 additions & 1 deletion machines/home-manager/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ with pkgs; [

# Unfree
google-chrome
unstable.vscode
vscode

# Unstable
unstable.rust-analyzer

# From Overlays
em
Expand Down

0 comments on commit 3bd2844

Please sign in to comment.