change to flycheck
This commit is contained in:
parent
77a7f0e385
commit
0c6d8aec0d
28
.myemacs
28
.myemacs
@ -6,7 +6,7 @@
|
|||||||
; By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ ;
|
; By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ ;
|
||||||
; +#+#+#+#+#+ +#+ ;
|
; +#+#+#+#+#+ +#+ ;
|
||||||
; Created: 2018/07/09 18:59:05 by tmaze #+# #+# ;
|
; Created: 2018/07/09 18:59:05 by tmaze #+# #+# ;
|
||||||
; Updated: 2019/11/01 17:32:23 by tmaze ### ########.fr ;
|
; Updated: 2019/11/01 19:19:08 by tmaze ### ########.fr ;
|
||||||
; ;
|
; ;
|
||||||
;******************************************************************************;
|
;******************************************************************************;
|
||||||
|
|
||||||
@ -32,11 +32,14 @@ There are two things you can do about this warning:
|
|||||||
|
|
||||||
(setq package-initialize-at-startup nil)
|
(setq package-initialize-at-startup nil)
|
||||||
|
|
||||||
(defvar tmaze/packages '(ccls
|
(defvar tmaze/packages '(lsp-treemacs
|
||||||
|
flycheck
|
||||||
|
ccls
|
||||||
rust-mode
|
rust-mode
|
||||||
company
|
company
|
||||||
use-package
|
use-package
|
||||||
lsp-mode
|
lsp-mode
|
||||||
|
lsp-ui
|
||||||
company-lsp
|
company-lsp
|
||||||
column-enforce-mode
|
column-enforce-mode
|
||||||
magit
|
magit
|
||||||
@ -79,20 +82,23 @@ There are two things you can do about this warning:
|
|||||||
(setq rust-format-on-save t))
|
(setq rust-format-on-save t))
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:init
|
:init
|
||||||
(add-hook 'prog-mode-hook 'lsp-mode)
|
(add-hook 'prog-mode-hook 'lsp-mode))
|
||||||
:config
|
|
||||||
(use-package lsp-flycheck
|
|
||||||
:ensure f ; comes with lsp-mode
|
|
||||||
:after flycheck))
|
|
||||||
(use-package lsp-rust
|
(use-package lsp-rust
|
||||||
:after lsp-mode)
|
:after lsp-mode)
|
||||||
|
|
||||||
(use-package ccls
|
(use-package ccls
|
||||||
:hook ((c-mode c++-mode objc-mode cuda-mode) .
|
:hook ((c-mode c++-mode objc-mode cuda-mode) .
|
||||||
(lambda () (require 'ccls) (lsp))))
|
(lambda () (require 'ccls) (lsp))))
|
||||||
|
|
||||||
(use-package flymake-cursor
|
(use-package lsp-ui
|
||||||
:load-path "~/.emacs.d/lisp/emacs-flymake-cursor" ;; cloned repo path
|
:hook (lsp-mode . lsp-ui-mode))
|
||||||
:config
|
|
||||||
(flymake-cursor-mode))
|
(use-package flycheck
|
||||||
|
:hook ((rust-mode c-mode c++-mode objc-mode cuda-mode) .
|
||||||
|
flycheck-mode))
|
||||||
|
|
||||||
|
(use-package lsp-treemacs
|
||||||
|
:commands lsp-treemacs-errors-list)
|
||||||
|
|
||||||
(setenv "ESHELL" (expand-file-name "~/.emacs.d/eshell"))
|
(setenv "ESHELL" (expand-file-name "~/.emacs.d/eshell"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user