Skip to content

Commit

Permalink
Remove treesitter stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
amirrezaask committed Jan 6, 2024
1 parent ac19293 commit ad0f7ff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .emacs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
;; Amirreza Emacs
;; NOTE(anyone): This config needs at least emacs 29

(setq frame-inhibit-implied-resize t) ;; Don't let emacs to resize frame when something inside changes
(setq gc-cons-threshold 200000000) ;; 200 MB
Expand All @@ -12,9 +11,6 @@
(setq is-windows (eq system-type 'windows-nt))
(setq is-linux (eq system-type 'gnu-linux))
(setq is-macos (eq system-type 'darwin))
(setq has-treesitter (fboundp 'treesit-language-available-p))
(when (< emacs-major-version 29) (error "This configuration needs at least emacs 29"))
(unless has-treesitter (error "This configuration assumes that you have an emacs that is compiled with treesitter enabled."))

(defun edit-init ()
(interactive)
Expand Down

0 comments on commit ad0f7ff

Please sign in to comment.