python yay
This commit is contained in:
parent
02a53f4ced
commit
033e8ef30e
2 changed files with 25 additions and 2 deletions
13
home.nix
13
home.nix
|
|
@ -57,7 +57,8 @@ in
|
|||
zls
|
||||
rustup
|
||||
sqlite
|
||||
cbqn-standalone-replxx
|
||||
python314Packages.python
|
||||
python314Packages.ipython
|
||||
|
||||
# might as well use it consistently
|
||||
haskell-language-server
|
||||
|
|
@ -70,6 +71,7 @@ in
|
|||
|
||||
age
|
||||
age-plugin-yubikey
|
||||
passage
|
||||
gnupg
|
||||
fzf
|
||||
|
||||
|
|
@ -150,7 +152,12 @@ in
|
|||
url = "https://raw.githubusercontent.com/samholmes/whiskers/main/whiskers.png";
|
||||
hash = "sha256-By6sRGNyK5Myk608crIO2vrnixZ0dJjoW26Y1I23Dto=";
|
||||
};
|
||||
|
||||
".sqliterc".text = ".mode column";
|
||||
|
||||
".scryerrc".text = ''
|
||||
:- use_module(library(clpz)).
|
||||
'';
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
|
|
@ -224,6 +231,8 @@ in
|
|||
"inlayHint.enable" = false;
|
||||
"zig.zls.path" = "/home/mbk/.config/coc/extensions/coc-zls-data/zls_install/zls";
|
||||
};
|
||||
withRuby = true;
|
||||
withPython3 = true;
|
||||
defaultEditor = true;
|
||||
# should probably extract this out but meh
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
|
|
@ -245,7 +254,7 @@ in
|
|||
telescope-manix
|
||||
|
||||
vim-rooter
|
||||
fzfWrapper
|
||||
fzf-wrapper
|
||||
# Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||
# Plug 'junegunn/fzf.vim'
|
||||
# Plug 'jlanzarotta/bufexplorer'
|
||||
|
|
|
|||
14
init.el.nix
14
init.el.nix
|
|
@ -485,6 +485,8 @@ If the new path's directories does not exist, create them."
|
|||
(python-mode . python-ts-mode)
|
||||
(elixir-mode . elixir-ts-mode)
|
||||
(rust-mode . rust-ts-mode)))
|
||||
(add-to-list 'auto-mode-alist
|
||||
'("\\.ts\\'" . typescript-mode))
|
||||
(add-to-list 'auto-mode-alist
|
||||
'("\\.ex\\'" . elixir-mode))
|
||||
(add-to-list 'auto-mode-alist
|
||||
|
|
@ -572,6 +574,18 @@ If the new path's directories does not exist, create them."
|
|||
(:check (:command "clippy"
|
||||
:extraArgs ["--" "-W" "clippy::pedantic"])))))
|
||||
|
||||
(add-to-list 'eglot-server-programs '((js-mode typescript-mode) . (eglot-deno "deno" "lsp")))
|
||||
|
||||
(defclass eglot-deno (eglot-lsp-server) ()
|
||||
:documentation "A custom class for deno lsp.")
|
||||
|
||||
(cl-defmethod eglot-initialization-options ((server eglot-deno))
|
||||
"Passes through required deno initialization options"
|
||||
(list
|
||||
:enable t
|
||||
:unstable t))
|
||||
|
||||
|
||||
)
|
||||
|
||||
; oorg
|
||||
|
|
|
|||
Loading…
Reference in a new issue