python yay

This commit is contained in:
mehbark 2026-06-13 02:04:47 -04:00
parent 02a53f4ced
commit 033e8ef30e
2 changed files with 25 additions and 2 deletions

View file

@ -57,7 +57,8 @@ in
zls zls
rustup rustup
sqlite sqlite
cbqn-standalone-replxx python314Packages.python
python314Packages.ipython
# might as well use it consistently # might as well use it consistently
haskell-language-server haskell-language-server
@ -70,6 +71,7 @@ in
age age
age-plugin-yubikey age-plugin-yubikey
passage
gnupg gnupg
fzf fzf
@ -150,7 +152,12 @@ in
url = "https://raw.githubusercontent.com/samholmes/whiskers/main/whiskers.png"; url = "https://raw.githubusercontent.com/samholmes/whiskers/main/whiskers.png";
hash = "sha256-By6sRGNyK5Myk608crIO2vrnixZ0dJjoW26Y1I23Dto="; hash = "sha256-By6sRGNyK5Myk608crIO2vrnixZ0dJjoW26Y1I23Dto=";
}; };
".sqliterc".text = ".mode column"; ".sqliterc".text = ".mode column";
".scryerrc".text = ''
:- use_module(library(clpz)).
'';
}; };
programs.fish = { programs.fish = {
@ -224,6 +231,8 @@ in
"inlayHint.enable" = false; "inlayHint.enable" = false;
"zig.zls.path" = "/home/mbk/.config/coc/extensions/coc-zls-data/zls_install/zls"; "zig.zls.path" = "/home/mbk/.config/coc/extensions/coc-zls-data/zls_install/zls";
}; };
withRuby = true;
withPython3 = true;
defaultEditor = true; defaultEditor = true;
# should probably extract this out but meh # should probably extract this out but meh
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
@ -245,7 +254,7 @@ in
telescope-manix telescope-manix
vim-rooter vim-rooter
fzfWrapper fzf-wrapper
# Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } # Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
# Plug 'junegunn/fzf.vim' # Plug 'junegunn/fzf.vim'
# Plug 'jlanzarotta/bufexplorer' # Plug 'jlanzarotta/bufexplorer'

View file

@ -485,6 +485,8 @@ If the new path's directories does not exist, create them."
(python-mode . python-ts-mode) (python-mode . python-ts-mode)
(elixir-mode . elixir-ts-mode) (elixir-mode . elixir-ts-mode)
(rust-mode . rust-ts-mode))) (rust-mode . rust-ts-mode)))
(add-to-list 'auto-mode-alist
'("\\.ts\\'" . typescript-mode))
(add-to-list 'auto-mode-alist (add-to-list 'auto-mode-alist
'("\\.ex\\'" . elixir-mode)) '("\\.ex\\'" . elixir-mode))
(add-to-list 'auto-mode-alist (add-to-list 'auto-mode-alist
@ -572,6 +574,18 @@ If the new path's directories does not exist, create them."
(:check (:command "clippy" (:check (:command "clippy"
:extraArgs ["--" "-W" "clippy::pedantic"]))))) :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 ; oorg