Implement fsharp :lang module
This commit is contained in:
parent
febeed2526
commit
8ef56f5bc0
2 changed files with 17 additions and 0 deletions
13
modules/lang/fsharp/config.el
Normal file
13
modules/lang/fsharp/config.el
Normal file
|
@ -0,0 +1,13 @@
|
|||
;;; lang/fsharp/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(after! fsharp-mode
|
||||
(setq fsharp-ac-use-popup nil) ; Use a buffer for docs rather than a pop-up
|
||||
(set-lookup-handlers! 'fsharp-mode :async t :definition #'fsharp-ac/gotodefn-at-point)
|
||||
(set-company-backend! 'fsharp-mode 'fsharp-ac/company-backend)
|
||||
(set-repl-handler! 'fsharp-mode #'fsharp-show-subshell)
|
||||
(map! :localleader
|
||||
:map fsharp-mode-map
|
||||
"b" #'fsharp-ac/pop-gotodefn-stack ; Useful for re-tracing your steps
|
||||
"l" #'fsharp-load-buffer-file
|
||||
"q" #'fsharp-ac/stop-process
|
||||
"t" #'fsharp-ac/show-tooltip-at-point))
|
4
modules/lang/fsharp/packages.el
Normal file
4
modules/lang/fsharp/packages.el
Normal file
|
@ -0,0 +1,4 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/fsharp/packages.el
|
||||
|
||||
(package! fsharp-mode)
|
Loading…
Add table
Add a link
Reference in a new issue