mirror of https://github.com/Chizi123/.emacs.d.git

Joel Grunbaum
2021-08-14 fb9b1b9bcde0c5f81461508287c9aacb5160ae98
config.org
@@ -799,7 +799,7 @@
    (setq company-minimum-prefix-length 3))
#+END_SRC
** COMMENT LSP Mode
** LSP Mode
Use LSP for completion suggestions.
Causes too much memory usage, need to debug.
#+BEGIN_SRC emacs-lisp
@@ -987,7 +987,7 @@
                                     company-dabbrev-code
                                     company-irony)))
#+END_SRC
**** Clang-format
**** COMMENT Clang-format
Automatically format buffer on save.
#+BEGIN_SRC emacs-lisp
  (when (file-exists-p "/usr/share/clang/clang-format.el")
@@ -1084,7 +1084,7 @@
  (defun get-texcount-latest()
    (if (not(file-directory-p "~/.texcount"))
        (make-directory "~/.texcount"))
    (url-copy-file "https://app.uio.no/ifi/texcount/download.php?file=texcount_3_1_1.zip" "~/.texcount/texcount.zip" 1)
    (url-copy-file "https://app.uio.no/ifi/texcount/download.php?file=texcount_3_2_0_41.zip" "~/.texcount/texcount.zip" 1)
    (shell-command "unzip -o ~/.texcount/texcount.zip -d ~/.texcount")
    (add-to-list 'exec-path "~/.texcount/texcount.pl"))