neotree-no-resize.org 996 B

Configuration

;; Set the neo-window-width to the current width of the ;; neotree window, to trick neotree into resetting the ;; width back to the actual window width. ;; Fixes: https://github.com/jaypei/emacs-neotree/issues/262 (eval-after-load "neotree" '(add-to-list 'window-size-change-functions (lambda (frame) (let ((neo-window (neo-global--get-window))) (unless (null neo-window) (setq neo-window-width (window-width neo-window)))))))