You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
717 B
38 lines
717 B
2 years ago
|
;; Default mode definitions.
|
||
|
|
||
|
;; Force code to always be indented correctly.
|
||
|
(use-package aggressive-indent
|
||
|
:ensure t)
|
||
|
|
||
|
;; Flycheck is enabled globally.
|
||
|
(use-package flycheck
|
||
|
:ensure t
|
||
|
:hook ((after-init . global-flycheck-mode)))
|
||
|
|
||
|
;; Company is enabled globally.
|
||
|
(use-package company
|
||
|
:ensure t
|
||
|
:hook ((after-init . global-company-mode)))
|
||
|
|
||
|
(use-package projectile
|
||
|
:ensure t
|
||
|
:bind-keymap
|
||
|
("C-c p" . projectile-command-map))
|
||
|
|
||
|
(use-package ivy
|
||
|
:ensure t
|
||
|
:config
|
||
|
(ivy-mode 1))
|
||
|
|
||
|
(use-package lsp-mode
|
||
|
:ensure t
|
||
|
:hook ((python-mode . lsp-deferred))
|
||
|
:commands (lsp lsp-deferred))
|
||
|
|
||
|
(use-package lsp-ui
|
||
|
:ensure t
|
||
|
:hook (lsp-mode . lsp-ui-mode))
|
||
|
|
||
|
(use-package rainbow-delimiters
|
||
|
:ensure t)
|