diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2022-10-18 08:41:33 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2022-10-18 08:41:33 -0400 |
commit | ec7ce863852fe1150ccbbde7292239c94e633caa (patch) | |
tree | ee5d601f513e0256c494757a34e54d98fb1e10e3 /lisp | |
parent | 53dd27cb58ef41fb1fecf0189dcbc1a86c4b2892 (diff) |
Ignoring node_modules in projectile, removing cmake-ide, fixing tabs
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/cpp.el | 5 | ||||
-rw-r--r-- | lisp/general.el | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lisp/cpp.el b/lisp/cpp.el index 1fdbb7c..b7f5242 100644 --- a/lisp/cpp.el +++ b/lisp/cpp.el @@ -12,9 +12,10 @@ ;; (electric-indent-mode 0) ) -(require 'cmake-ide) +; TODO: I am not the bigest fan of cmake-ide any more. Let's see how easy that is. +;(require 'cmake-ide) (require 'eglot) -(cmake-ide-setup) + ;(cmake-ide-setup) (add-hook 'c-mode-common-hook 'setup-c) (add-hook 'c-mode-common-hook 'eglot-ensure) diff --git a/lisp/general.el b/lisp/general.el index 13e3f57..32b58f2 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -16,7 +16,7 @@ (setq mac-shift-modifier 'meta) ;; Default Values -(setq-default indent-tabs-mode t) ; use spaces only if nil +(setq-default indent-tabs-mode nil) ; use spaces only if nil (setq-default tab-width 2) ; Assuming you want your tabs to be four spaces wide (set-face-attribute 'default nil :font "Source Code Pro-10") (set-fontset-font t '(?😊 . ?😎) "Segoe UI Emoji") @@ -51,6 +51,7 @@ (define-key projectile-mode-map (kbd "s-F") 'projectile-grep) (define-key projectile-mode-map [?\s-o] 'projectile-switch-project) (define-key projectile-mode-map [?\s-p] 'projectile-find-file) +(add-to-list 'projectile-globally-ignored-directories "*node_modules") ;; Ido mode text matching (require 'ivy) |