summaryrefslogtreecommitdiff
path: root/lisp/general.el
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-08-23 08:57:49 -0400
committermattkae <mattkae@protonmail.com>2022-08-23 08:57:49 -0400
commitf9893ba2781cf0b31044d1686632863278392fc8 (patch)
tree541e8bc4bc72c5d957381c29089d6bca722028e1 /lisp/general.el
parent90dffcdc5013e129d7f974ec6f795e61af31d1bb (diff)
Hightlight line for js mode
Diffstat (limited to 'lisp/general.el')
-rw-r--r--lisp/general.el14
1 files changed, 5 insertions, 9 deletions
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)