Move python and lua config into emacs directory
Change python lsp to use pyright, add lua-language-server
This commit is contained in:
parent
db43e17270
commit
8b51847ac0
|
@ -14,8 +14,6 @@
|
|||
../programs/firefox/default.nix
|
||||
../programs/cava/default.nix
|
||||
../programs/obs/default.nix
|
||||
../programs/python/default.nix
|
||||
../programs/lua/default.nix
|
||||
# Services
|
||||
../services/email/work.nix # TODO combine again at some point
|
||||
../services/password-store/default.nix
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
fonts,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./python/default.nix
|
||||
./lua/default.nix
|
||||
];
|
||||
programs.emacs = {
|
||||
# Clone emacs config from https://git.xenia.me.uk/pixelifytica/emacs.git
|
||||
# git clone https://git.xenia.me.uk/pixelifytica/emacs.git ~/.emacs.d
|
||||
|
@ -153,5 +157,9 @@
|
|||
isort
|
||||
stylua
|
||||
nodePackages.prettier
|
||||
|
||||
## Language servers
|
||||
pyright
|
||||
lua-language-server
|
||||
];
|
||||
}
|
||||
|
|
|
@ -4,11 +4,9 @@
|
|||
"pypoetry/config.toml".source = ./pypoetry.toml;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
poetry
|
||||
(python3.withPackages
|
||||
(ps:
|
||||
with ps; [
|
||||
python-lsp-server
|
||||
mypy
|
||||
numpy
|
||||
scipy
|
Reference in a new issue