summaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el15
1 files changed, 11 insertions, 4 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 403feb2..30d7d54 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -456,7 +456,15 @@ the cyclic ordering. Don't involve windows that are dedicated."
(use-package lsp-mode
:commands (lsp)
:init
- (use-package lsp-haskell))
+ (use-package lsp-haskell)
+ :custom
+ (lsp-completion-provider . :none)
+ :config
+ (defun corfu-lsp-setup ()
+ (setq-local completion-styles '(orderless)
+ completion-category-defaults nil))
+ (add-hook 'lsp-completion-mode-hook #'corfu-lsp-setup)
+ )
(use-package pyvenv)
@@ -626,6 +634,7 @@ the cyclic ordering. Don't involve windows that are dedicated."
(require 'exwm-xim)
(require 'exwm-systemtray)
(require 'exwm-manage)
+ (add-to-list 'exwm-manage-configurations '((equal exwm-class-name "Slack") managed t))
(use-package exwm-modeline)
;;(exwm-xim-mode 1)
@@ -732,9 +741,7 @@ the cyclic ordering. Don't involve windows that are dedicated."
;; Bind "s-w" to window switcher
([?\M-W] . consult-buffer)
([?\M-o] . other-window)
-
- ;;fast workspace switch
- ([?\M-O] . exwm-other-assigned-workspace)
+ ([?\M-O] . my/exwm-other-assigned-workspace)
([?\M-D] . my/dmenu)
([?\M-E] . my/browser)