ksp???
This commit is contained in:
12
modules/home/kerbal-space-program.nix
Normal file
12
modules/home/kerbal-space-program.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.sydnix.kerbal-space-program;
|
||||
in {
|
||||
options.sydnix.kerbal-space-program = {
|
||||
enable = lib.mkEnableOption "KSPslop";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [ pkgs.ckan ];
|
||||
};
|
||||
}
|
||||
@@ -62,6 +62,7 @@
|
||||
syd/wgrep
|
||||
syd/nix
|
||||
syd/backup
|
||||
syd/flycheck
|
||||
syd/agda
|
||||
syd/eshell
|
||||
syd/treesit
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
(defun syd-haskell-hoogle-start-server ()
|
||||
(interactive)
|
||||
(require 'haskell-hoogle)
|
||||
(haskell-hoogle-start-server)
|
||||
(browse-url-xdg-open (format "http://localhost:%d"
|
||||
haskell-hoogle-port-number))
|
||||
|
||||
@@ -39,8 +39,12 @@
|
||||
:select nil :size 0.42 :popup t :align bottom))
|
||||
(defun syd-lsp-handle-docs ()
|
||||
(interactive)
|
||||
(lsp-describe-thing-at-point)
|
||||
(get-buffer "*lsp-help*"))
|
||||
(save-excursion
|
||||
(when evil-mode (forward-char)) ; evil-mode cope
|
||||
(lsp-describe-thing-at-point))
|
||||
(with-current-buffer (get-buffer "*lsp-help*")
|
||||
(and (not (string-empty-p (string-trim (buffer-string))))
|
||||
(current-buffer))))
|
||||
(syd-handle 'lsp-mode
|
||||
:docs #'syd-lsp-handle-docs))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user