neovim python
This commit is contained in:
parent
dddd1054d2
commit
eee335f9df
@ -15,7 +15,7 @@ let grammars = with pkgs.vimPlugins.nvim-treesitter-parsers; [
|
|||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ ./hs.nix ./bash.nix ./nix.nix ./lua.nix ./js.nix ./util.nix ];
|
imports = [ ./py.nix ./hs.nix ./bash.nix ./nix.nix ./lua.nix ./js.nix ./util.nix ];
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
20
home/laptop/programs/neovim/py.nix
Normal file
20
home/laptop/programs/neovim/py.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
|
||||||
|
let grammars = with pkgs.vimPlugins.nvim-treesitter-parsers; [
|
||||||
|
python
|
||||||
|
];
|
||||||
|
in
|
||||||
|
{
|
||||||
|
programs.neovim = {
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
python311Packages.python-lsp-server
|
||||||
|
];
|
||||||
|
plugins = with pkgs.vimPlugins; grammars ++ [
|
||||||
|
];
|
||||||
|
extraLuaConfig = ''
|
||||||
|
addServers({
|
||||||
|
pylsp = {},
|
||||||
|
})
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user