hook global WinSetOption filetype=kdl %{
    set-option buffer lsp_servers %{
        [kdl-lsp]
        root_globs = [".git", ".hg"]
        command = "kdl-lsp"
    }
    lsp-enable-buffer
    softtab-enable
}
