bash support and refactoring
This commit is contained in:
parent
4bec7dc550
commit
6b73d76a5b
12
flake.lock
12
flake.lock
@ -58,11 +58,11 @@
|
|||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1694228071,
|
"lastModified": 1694317719,
|
||||||
"narHash": "sha256-OxEzUiIu2LFSdhsayV8Jk8DKg+kwLBSSKezURwjkFQU=",
|
"narHash": "sha256-Z3M1vktETVP0QTRWGJdr8NEqAabe8T01Qwyv/WbI5Qk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "a9bbef37c102aafd6a9247c011f2ae90f3c71b16",
|
"rev": "cda419bccab17c45d00f200a987d30e9c93c9590",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -351,11 +351,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1693985761,
|
"lastModified": 1694183432,
|
||||||
"narHash": "sha256-K5b+7j7Tt3+AqbWkcw+wMeqOAWyCD1MH26FPZyWXpdo=",
|
"narHash": "sha256-YyPGNapgZNNj51ylQMw9lAgvxtM2ai1HZVUu3GS8Fng=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0bffda19b8af722f8069d09d8b6a24594c80b352",
|
"rev": "db9208ab987cdeeedf78ad9b4cf3c55f5ebd269b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -27,15 +27,14 @@
|
|||||||
bat
|
bat
|
||||||
trashy
|
trashy
|
||||||
yewtube
|
yewtube
|
||||||
|
lolcat
|
||||||
# programming
|
# programming
|
||||||
nixfmt
|
|
||||||
sqlite
|
sqlite
|
||||||
tectonic
|
tectonic
|
||||||
ffmpeg
|
ffmpeg
|
||||||
nodePackages_latest.pnpm
|
nodePackages_latest.pnpm
|
||||||
rustup
|
rustup
|
||||||
poetry
|
poetry
|
||||||
lolcat
|
|
||||||
deno
|
deno
|
||||||
bun
|
bun
|
||||||
nodejs_20
|
nodejs_20
|
||||||
|
@ -3,25 +3,36 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
|
# nix
|
||||||
|
rnix-lsp
|
||||||
alejandra
|
alejandra
|
||||||
black
|
# go
|
||||||
go
|
go
|
||||||
gopls
|
gopls
|
||||||
|
# c/c++
|
||||||
libclang
|
libclang
|
||||||
|
# lua
|
||||||
lua
|
lua
|
||||||
lua-language-server
|
lua-language-server
|
||||||
|
stylua
|
||||||
|
# js/ts
|
||||||
nodePackages_latest.prettier
|
nodePackages_latest.prettier
|
||||||
nodePackages_latest.typescript
|
nodePackages_latest.typescript
|
||||||
nodePackages_latest.typescript-language-server
|
nodePackages_latest.typescript-language-server
|
||||||
nodePackages_latest."@tailwindcss/language-server"
|
nodePackages_latest."@tailwindcss/language-server"
|
||||||
nodePackages_latest."@prisma/language-server"
|
nodePackages_latest."@prisma/language-server"
|
||||||
|
# bash
|
||||||
|
nodePackages_latest.bash-language-server
|
||||||
|
shfmt
|
||||||
|
# python
|
||||||
python311Packages.python-lsp-black
|
python311Packages.python-lsp-black
|
||||||
python311Packages.python-lsp-server
|
python311Packages.python-lsp-server
|
||||||
ripgrep
|
black
|
||||||
rnix-lsp
|
# haskell
|
||||||
stylua
|
|
||||||
haskell-language-server
|
|
||||||
ghc
|
ghc
|
||||||
|
haskell-language-server
|
||||||
|
# neovim
|
||||||
|
ripgrep
|
||||||
];
|
];
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
nvim-surround
|
nvim-surround
|
||||||
|
@ -73,7 +73,8 @@ local servers = {
|
|||||||
gopls = {},
|
gopls = {},
|
||||||
tailwindcss = {},
|
tailwindcss = {},
|
||||||
prismals = {},
|
prismals = {},
|
||||||
hls = {}
|
hls = {},
|
||||||
|
bashls = {},
|
||||||
}
|
}
|
||||||
local cmp_capabilities = require("cmp_nvim_lsp").default_capabilities()
|
local cmp_capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||||
local on_attach = function(client, bufnr)
|
local on_attach = function(client, bufnr)
|
||||||
|
Loading…
Reference in New Issue
Block a user