jaypei / emacs-neotree

A emacs tree plugin like NerdTree for Vim.
GNU General Public License v3.0
1.56k stars 147 forks source link

Neotree crashes when opening c files #363

Closed Lienep0 closed 6 days ago

Lienep0 commented 1 week ago

I'm running Emacs 27.1 on ubuntu and every time I try to open a C (filename.c) file with Neotree, emacs becomes unresponsive and the Ubuntu error sound plays whenever any input is performed. Every other file type I've tested works fine. Here is my config file that relates to neotree :


;; Neotree
(require 'neotree)

(global-set-key [f8] 'neotree-toggle)

(setq neo-window-width 30) 
(setq neo-theme (if (display-graphic-p) 'icons 'nerd))
(add-hook 'emacs-startup-hook 'neotree-toggle)

(setq neo-persist-show t)
(setq neo-auto-indent-point t)
(setq neo-smart-open t)```