Compare commits
4 Commits
49168b2ed8
...
3869c8a615
Author | SHA1 | Date | |
---|---|---|---|
|
3869c8a615 | ||
|
908222a1b9 | ||
|
bc85de1ad5 | ||
|
fcd0cb1f49 |
@ -96,6 +96,7 @@ targets."
|
||||
(add-to-list 'embark-keymap-alist '(lsp-identifier . embark-lsp-identifier-actions))
|
||||
(add-to-list 'embark-target-injection-hooks '(lsp-execute-code-action embark--ignore-target))
|
||||
(add-to-list 'embark-target-injection-hooks '(lsp-describe-thing-at-point embark--ignore-target)))
|
||||
(add-to-list 'embark-target-injection-hooks '(xref-find-references embark--ignore-target))
|
||||
:general
|
||||
((emacs normal motion insert visual) "C-." #'embark-act)
|
||||
((emacs normal motion insert visual) "M-." #'embark-dwim)
|
||||
|
@ -3,6 +3,9 @@
|
||||
(use-package rust-mode
|
||||
:mode (("\\.rs\\'" . rust-mode))
|
||||
:config
|
||||
(add-hook 'rust-mode-hook 'lsp-deferred))
|
||||
(add-hook 'rust-mode-hook 'lsp-deferred)
|
||||
(with-eval-after-load 'lsp-rust
|
||||
(general-def rust-mode-map
|
||||
"C-c C-c C-d" 'lsp-rust-analyzer-open-external-docs)))
|
||||
|
||||
(provide 'init-rust)
|
||||
|
@ -113,8 +113,12 @@ alias kns="kubens"
|
||||
alias kctx="kubectx"
|
||||
alias tf="terraform"
|
||||
|
||||
# Up the ulimit
|
||||
ulimit -S -n 4096
|
||||
# zsh-completions homebrew package
|
||||
if type brew &>/dev/null; then
|
||||
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
fi
|
||||
|
||||
# VTerm integration
|
||||
# Some of the most useful features in emacs-libvterm require shell-side
|
||||
|
Loading…
Reference in New Issue
Block a user