···1515 vim.lsp.enable(server)
1616 end
1717 end
1818- local config = vim.lsp.config[server]
1919-2020- if config and config.default_config then
2121- local cmd = config.default_config.cmd
2222- if cmd and cmd[1] and vim.fn.executable(cmd[1]) == 1 then
2323- vim.lsp.enable(server)
2424- end
2525- end
2618end
27192820vim.api.nvim_create_autocmd("LspAttach", {
···3628 end
3729 end,
3830})
3939-vim.api.nvim_create_autocmd("LspAttach", {
4040- callback = function(args)
4141- local client = vim.lsp.get_client_by_id(args.data.client_id)
4242- if client and client.supports_method("textDocument/completion") then
4343- vim.lsp.completion.enable(true, client.id, args.buf)
4444- end
4545- end,
4646-})
4747-
+4
home/host-specific/modules/school.nix
···11{ pkgs, ... }:
2233{
44+ programs.openvpn = {
55+ enable = true;
66+77+ };
48 home.packages = with pkgs; [
59 # School: Python and Dbus to run their network script
610 python312