From f9893ba2781cf0b31044d1686632863278392fc8 Mon Sep 17 00:00:00 2001 From: mattkae Date: Tue, 23 Aug 2022 08:57:49 -0400 Subject: Hightlight line for js mode --- lisp/general.el | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'lisp/general.el') diff --git a/lisp/general.el b/lisp/general.el index 71c1f66..cedc5fa 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -27,16 +27,11 @@ (require 'perfect-margin) (perfect-margin-mode 1) - ;; Highlight line - (require 'hl-line) - (global-hl-line-mode 1) - (set-face-background hl-line-face "#EFEFEF") - ;; Initialization screen (setq inhibit-splash-screen t) (setq initial-scratch-message "") (setq initial-major-mode 'text-mode) - (desktop-save-mode 1) + ;(desktop-save-mode 1) ;; Projectile for projects (require 'projectile) @@ -44,7 +39,7 @@ (define-key projectile-mode-map (kbd "s-q") 'projectile-command-map) (define-key projectile-mode-map [?\s-t] 'projectile-switch-project) (define-key projectile-mode-map [?\s-p] 'projectile-find-file) - + ;; Tree (require 'neotree) (global-set-key [f8] 'neotree-toggle) @@ -81,19 +76,20 @@ :init (add-hook 'after-init-hook 'global-company-mode) :config (use-package company-irony :ensure t :defer t) - (setq company-idle-delay nil + (setq company-idle-delay 0 company-minimum-prefix-length 2 company-show-numbers t company-tooltip-limit 20 company-dabbrev-downcase nil company-backends '((company-irony company-gtags)) + company-vscode-light-icons-margin 1 ) :bind ("C-;" . company-complete-common) ) ;; Flycheck (eval-after-load 'flycheck - '(add-hook 'flycheck-mode-hook #'flycheck-irony-setup)) + '(add-hook 'flycheck-mode-hook #'flycheck-irony-setup)) ) (provide 'general) -- cgit v1.2.1