This provides a hook for users to configure buffers that use LSP. For
example,
    autocmd User LspAttached {
        nnoremap <buffer> <C-]> <Cmd>LspGotoDefinition<CR>
    }
     endif
   augroup END
 
+  doautocmd <nomodeline> User LspAttached
+
   buf.BufLspServerSet(bnr, lspserver)
 enddef
 
 
                \   ]
 <
 ==============================================================================
+7. Autocommands                                                *lsp-autocmds*
+
+                                                       *LspAttached*
+LspAttached                    A |User| autocommand fired when the LSP client
+                               attaches to a buffer. Can be used to configure
+                               buffer-local mappings or options.
 
 vim:tw=78:ts=8:noet:ft=help:norl: