mirror of https://github.com/wlcx/home.git
vim: add js/ts/kotlin things
This commit is contained in:
parent
0f8cf497fe
commit
2ca606af00
|
@ -30,6 +30,9 @@ require'lspconfig'.rnix.setup{
|
||||||
require'lspconfig'.rls.setup{
|
require'lspconfig'.rls.setup{
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
}
|
}
|
||||||
|
require'lspconfig'.tsserver.setup{
|
||||||
|
on_attach = on_attach,
|
||||||
|
}
|
||||||
|
|
||||||
-- Diags with Trouble
|
-- Diags with Trouble
|
||||||
require('trouble').setup {
|
require('trouble').setup {
|
||||||
|
|
|
@ -1,4 +1,15 @@
|
||||||
{ pkgs, lib, system, ... }: {
|
{ pkgs, lib, system, ... }:
|
||||||
|
let
|
||||||
|
vim-vue-plugin = pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "vim-vue-plugin";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "leafOfTree";
|
||||||
|
repo = "vim-vue-plugin";
|
||||||
|
rev = "b2bb4dd8f6d97909c48bc33937177d4068921a10";
|
||||||
|
sha256 = "hstEInKVFra1g47p6wKA7uCDBwXpoZ3iJz/ZaRjB34Q=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in {
|
||||||
programs.neovim.plugins = with pkgs.vimPlugins;
|
programs.neovim.plugins = with pkgs.vimPlugins;
|
||||||
[
|
[
|
||||||
# More fancy shit
|
# More fancy shit
|
||||||
|
@ -9,6 +20,9 @@
|
||||||
rust-vim
|
rust-vim
|
||||||
vim-terraform
|
vim-terraform
|
||||||
vim-protobuf
|
vim-protobuf
|
||||||
|
vim-javascript
|
||||||
|
vim-vue-plugin
|
||||||
|
kotlin-vim
|
||||||
]
|
]
|
||||||
# delve is unsupported on aarch64-linux and golangci-lint is broken on x86_64-darwin
|
# delve is unsupported on aarch64-linux and golangci-lint is broken on x86_64-darwin
|
||||||
# (see https://github.com/NixOS/nixpkgs/issues/168984).
|
# (see https://github.com/NixOS/nixpkgs/issues/168984).
|
||||||
|
|
Loading…
Reference in New Issue