28 Commits

Author SHA1 Message Date
Michael Lingelbach
0351d354e2 docgen: when no description provided fallback to reading function from source 2021-03-19 21:50:32 -07:00
Michael Lingelbach
1fae1d7dc8 docgen: fix if malformed json entries present 2021-01-26 13:37:09 -08:00
Michael Lingelbach
93c3431158 Remove all installers and install logic 2021-01-03 06:53:43 -08:00
Michael Lingelbach
f77d976a1f Separate autogenerated readme from readme.md 2020-12-20 12:48:16 -08:00
Hirokazu Hata
30cb4bff66
docgen: add '-v' option to curl for debugging
docgen script sometimes fails at downloading language server phase.
But we can't know which language server's docgen phase was failed.
2020-11-15 15:42:17 +09:00
Hirokazu Hata
ddcd9e6aae
Rename nvim_lsp to lspconfig 2020-09-06 17:49:21 +09:00
Hirokazu Hata
50f3f48ea0
docgen: escape GitHub Flavored Markdown punctuation characters
https://github.github.com/gfm/#backslash-escapes
2020-06-13 14:33:47 +09:00
Hirokazu Hata
2fd443bc5c
docgen: use package.json url instead of VSCode extension name
VSCode extensions are so large size and we offten get a network error with downloading them.
So we had better to directory download package.json.
2020-05-18 23:51:24 +09:00
Justin M. Keyes
014c833dac docgen.lua: call require_all_configs() earlier
It is also needed by make_implemented_servers_list().
2020-02-02 19:32:33 -08:00
Justin M. Keyes
8734a26c3c docgen.lua: require() all configs
Since 6d380677502d, configs are lazy-loaded. So docgen.lua needs to
require() them explicitly.
2020-02-02 19:13:42 -08:00
Justin M. Keyes
6c64dee4ed rename "skeleton" to "configs"
ref b487481e19ab
ref #100
2020-01-31 00:38:42 -08:00
Michael Lingelbach
b487481e19
rename "skeleton" to "configs" #100
`nvim_lsp/skeleton.lua` is not really a skeleton, it's a `configs`
class that provides

1. actual functionality
2. a bunch of configs

Each config is added to the `configs` object (FKA "skeleton") as
a property. Those configs are not "templates", they are "configs". So we
should clean up the wording in various places to say "config" instead of
"skeleton"/"template".

Closes #64
2020-01-31 00:00:50 -08:00
Hirokazu Hata
10d3a9bde1 CI: luacheck #86 2019-12-31 14:15:50 -08:00
Justin M. Keyes
56192022b2 remove Vimscript wrapper nvim_lsp#setup()
Lua is easy to use from Vimscript, there is no reason to have multiple
ways to work with nvim-lsp.

- massively clarifies the "story" that users need to comprehend
- reduces surface area, maintenance, tests
- avoids constant "Vim or Lua" dance in the documentation
- simplifies discussions, tutorials, etc.
- avoids confusing situation for users that start with Vimscript but
  later need Lua-only features
2019-12-08 03:04:13 -08:00
Ashkan Kiani
a105d7f1e2
Add retry logic to docgen. (#54) 2019-11-26 06:28:55 -08:00
Ashkan Kiani
eb01aca460
Add sumneko_lua installation and util.sh helper. (#49)
* Add sumneko_lua installation and util.sh helper.
* Add vspackage extraction for package.json information via vscode name.
* Allow specifying a tempdir at DOCGEN_TEMPDIR
* Fix on_new_config and add docs for root_dir
* User settings titles are not always useful
2019-11-26 06:01:11 -08:00
Ashkan Kiani
0d30787a47
Add package_json for pyls and update docgen (#32) 2019-11-17 13:52:21 -08:00
Ashkan Kiani
43c7040614
Refactor docgen and add package.json support (#29) 2019-11-17 12:27:06 -08:00
Ashkan Kiani
ac3df47ffd
Use a template for README.md (#28) 2019-11-17 09:58:52 -08:00
Ashkan Kiani
483b8a2850
Improve docgen (#27)
- Automatically generate the `Implemented servers` section.
- Remove dependency on `cat`
- Provide scripts/docgen.sh which actually reports errors.
2019-11-17 09:32:11 -08:00
Ashkan Kiani
5686a90890
Redo installation. (#17)
* Redo installation.

Servers which want to be auto installed should specify
skeleton[name].install()
and it will be automatically added to the list of installable servers.

- Add :LspInstall and :LspInstallInfo
- Auto generate docs for servers with .install() available.
- Add util.npm_installer
- Refactor utf8 capabilities common config into a single function
- Add contribution notes.
- Also expose util.base_install_dir for other installers potentially
- Fix tsserver's arguments and add javascript filetypes
2019-11-15 17:26:22 -08:00
Christian Clason
45e8138604 Texlab settings (#14)
* mark settings markdown as lua
* add complete set of (default) options for texlab
2019-11-15 14:03:28 -08:00
Ashkan Kiani
0ccd248ef9
Add ElmLS (#9)
- Initial add of elmLS support
- Removes unnecessary vim.schedule_wrap fn calls in elmls & clangd impls
- Add automatic installation for elmls and update docs.
- Sort server output in the README.
- Add commands for elmls for buffer and globally.
- [bugfix] Skeleton could've tried to attach even if root_dir was nil

TODO: check for updates and warn the user if there are updates when an elm server is started.


Co-authored-by: Seth Messer <seth.messer@gmail.com>
2019-11-14 17:14:53 -08:00
Ashkan Kiani
13c8ca22ca Improve documentation and docgen command.
Also improve the recommended command for running docgen.
2019-11-14 11:01:16 -08:00
Christian Clason
9100b3af6e Add initial support for python-language-server (#3)
* initial support for python-language-server
* put settings in documentation

also:
update docgen script
update setup call examples in README_preamble
2019-11-14 10:46:50 -08:00
Ashkan Kiani
93c6e7381f Clean up docs. 2019-11-14 01:13:56 -08:00
Ashkan Kiani
9666b63a70 Rename to nvim_lsp and nvim-lsp. 2019-11-14 01:07:09 -08:00
Ashkan Kiani
7fbe851feb Use new skeleton. Add docs generator. 2019-11-14 00:04:56 -08:00