Removed company, added treesitter stuff
This commit is contained in:
parent
a2fdc289fc
commit
a8683088f3
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,5 +1,8 @@
|
||||||
*
|
*
|
||||||
|
|
||||||
!.gitignore
|
!.gitignore
|
||||||
|
!.gitmodules
|
||||||
!early-init.el
|
!early-init.el
|
||||||
!init.el
|
!init.el
|
||||||
|
|
||||||
|
!tree-sitter-module
|
||||||
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "tree-sitter-module"]
|
||||||
|
path = tree-sitter-module
|
||||||
|
url = https://github.com/casouri/tree-sitter-module.git
|
13
init.el
13
init.el
|
@ -186,16 +186,11 @@
|
||||||
(evil-define-key 'normal lispyville-mode-map (kbd "C-;") #'lispy-comment)
|
(evil-define-key 'normal lispyville-mode-map (kbd "C-;") #'lispy-comment)
|
||||||
(evil-define-key 'visual lispyville-mode-map "iF" #'special-lispy-flow))
|
(evil-define-key 'visual lispyville-mode-map "iF" #'special-lispy-flow))
|
||||||
|
|
||||||
(use-package company
|
(use-package treesit
|
||||||
:demand t
|
:ensure nil
|
||||||
:custom
|
:custom
|
||||||
(company-idle-delay 0.3)
|
(treesit-extra-load-path `(,(expand-file-name "tree-sitter-module/dist/"
|
||||||
:config
|
user-emacs-directory))))
|
||||||
(define-key company-active-map (kbd "C-h") nil)
|
|
||||||
(define-key company-active-map (kbd "C-w") nil)
|
|
||||||
(define-key company-active-map (kbd "C-/") #'company-show-doc-buffer)
|
|
||||||
(define-key company-active-map (kbd "C-?") #'company-show-location)
|
|
||||||
(global-company-mode))
|
|
||||||
|
|
||||||
(use-package dtrt-indent
|
(use-package dtrt-indent
|
||||||
:demand t
|
:demand t
|
||||||
|
|
1
tree-sitter-module
Submodule
1
tree-sitter-module
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit d458a305142adf2c4f0d2d0d6549a45a38fe6a38
|
Loading…
Reference in a new issue