 
 (add-hook 'after-init-hook 'my-after-init-hook)
 (defun my-after-init-hook ()
-  (require 'edts-start))
-
-
-(setq erlang-root-dir "/usr/local/otp_src_19.1.6/lib/erlang")
-(setq erlang-man-root "/usr/local/otp_src_19.1.6/lib/erlang")
+ (require 'edts-start))
+
+
+(setq erlang-root-dir "/usr/local/otp_src_20.2.3/lib/erlang")
+(setq erlang-man-root "/usr/local/otp_src_20.2.3/lib/erlang")
 
 ;; 关闭文件滑动控件
 (scroll-bar-mode -1)

;; Emacs 自动加载外部修改过的文件
(global-auto-revert-mode 1)

(setq company-idle-delay 0.08)
(setq company-minimum-prefix-length 1)

;; set default tab char's display width to 4 spaces

; list the packages you want
(setq package-list '(edts company indent-guide pangu-spacing spinner))

; list the repositories containing them
(setq package-archives '(("gnu"   . "http://mirrors.tuna.tsinghua.edu.cn/elpa/gnu/")
                         ("melpa" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/melpa/")))

; activate all the packages (in particular autoloads)
(package-initialize)

; fetch the list of packages available
(unless package-archive-contents
    (package-refresh-contents))

; install the missing packages
(dolist (package package-list)
    (unless (package-installed-p package)
          (package-install package)))

;;设定光标为短线
(setq-default cursor-type 'bar)

