<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/lsp/log.lua, branch newfeatures</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>feat(lsp): improve logging (#15636)</title>
<updated>2021-09-15T18:35:04+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-09-15T18:35:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=685cf398130c61c158401b992a1893c2405cd7d2'/>
<id>685cf398130c61c158401b992a1893c2405cd7d2</id>
<content type='text'>
* Simplify rpc encode/decode messages to rpc.send/rcp.receive
* Make missing handlers message throw a warning
* Clean up formatting style in log
* Move all non-RPC loop messages to trace instead of debug
* Add format func option to log to allow newlines in per log entry</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Simplify rpc encode/decode messages to rpc.send/rcp.receive
* Make missing handlers message throw a warning
* Clean up formatting style in log
* Move all non-RPC loop messages to trace instead of debug
* Add format func option to log to allow newlines in per log entry</pre>
</div>
</content>
</entry>
<entry>
<title>chore(lsp): fix formatting in vim.lsp.log (#15596)</title>
<updated>2021-09-08T04:48:19+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-09-08T04:48:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=384a43fe7171e255fa212ca92387893fdd17185b'/>
<id>384a43fe7171e255fa212ca92387893fdd17185b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): add warning message for large log size</title>
<updated>2021-09-08T03:52:08+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-09-08T03:52:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e6777a7a04cf84517c8f1345fcb58c343171a266'/>
<id>e6777a7a04cf84517c8f1345fcb58c343171a266</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): add lsp healthcheck</title>
<updated>2021-09-08T03:51:40+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-09-07T22:20:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e26802650dd3f660f909a3abde8126cee7db1ab0'/>
<id>e26802650dd3f660f909a3abde8126cee7db1ab0</id>
<content type='text'>
Add healthcheck for language server client, currently only checks
logging status.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add healthcheck for language server client, currently only checks
logging status.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: make Lua docstrings consistent #15255</title>
<updated>2021-08-22T20:55:28+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-22T20:55:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c2a211b8e3e00dfae594ccbd9a107aef85a9919c'/>
<id>c2a211b8e3e00dfae594ccbd9a107aef85a9919c</id>
<content type='text'>
The official developer documentation in in :h dev-lua-doc specifies to
use "--@" for special/magic tokens. However, this format is not
consistent with EmmyLua notation (used by some Lua language servers) nor
with the C version of the magic docstring tokens which use three comment
characters.

Further, the code base is currently split between usage of "--@",
"---@", and "--- @". In an effort to remain consistent, change all Lua
magic tokens to use "---@" and update the developer documentation
accordingly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The official developer documentation in in :h dev-lua-doc specifies to
use "--@" for special/magic tokens. However, this format is not
consistent with EmmyLua notation (used by some Lua language servers) nor
with the C version of the magic docstring tokens which use three comment
characters.

Further, the code base is currently split between usage of "--@",
"---@", and "--- @". In an effort to remain consistent, change all Lua
magic tokens to use "---@" and update the developer documentation
accordingly.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): correctly check for windows in lsp logger (#14954)</title>
<updated>2021-07-10T18:11:33+00:00</updated>
<author>
<name>Oliver Marriott</name>
<email>rktjmp@users.noreply.github.com</email>
</author>
<published>2021-07-10T18:11:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=0b64d5ecd1e6c0c57e6effe641ae15a3e35a1b8f'/>
<id>0b64d5ecd1e6c0c57e6effe641ae15a3e35a1b8f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lsp: deep copy vim.lsp.log when reloading</title>
<updated>2021-04-16T10:43:20+00:00</updated>
<author>
<name>Dingcheng Yue</name>
<email>darwinsenior@gmail.com</email>
</author>
<published>2021-04-09T23:00:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6974d0c6c18f683256c3f96b902eae79660b5590'/>
<id>6974d0c6c18f683256c3f96b902eae79660b5590</id>
<content type='text'>
If vim.lsp.log is loaded the second time,
the vim.log.levels will be modified with additional
entries from 0-5.
This will cause the require to fail as level:lower does
not exists on numbered value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If vim.lsp.log is loaded the second time,
the vim.log.levels will be modified with additional
entries from 0-5.
This will cause the require to fail as level:lower does
not exists on numbered value.
</pre>
</div>
</content>
</entry>
<entry>
<title>lsp: add explicit entry on lsp log start</title>
<updated>2021-03-06T05:09:40+00:00</updated>
<author>
<name>Piyush Jaipuriyar</name>
<email>piyushjaipuriyar@gmail.com</email>
</author>
<published>2021-02-11T12:55:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=82c09f7c0b5d19f6f63f2dd126412fc75523f647'/>
<id>82c09f7c0b5d19f6f63f2dd126412fc75523f647</id>
<content type='text'>
fix: address typo and review comments
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix: address typo and review comments
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: adds vim.notify</title>
<updated>2021-01-30T23:18:22+00:00</updated>
<author>
<name>Matthieu Coudron</name>
<email>mcoudron@hotmail.com</email>
</author>
<published>2021-01-27T14:09:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3f81f5c7a451f93a48103af4f1c31fd5f31d687f'/>
<id>3f81f5c7a451f93a48103af4f1c31fd5f31d687f</id>
<content type='text'>
Adds function to notify the user like this:
`:lua vim.notify("hello user")`
embeds log levels vim.log.levels.

you can then reassign vim.notify to for instance
```
function notify_external(msg, log_level, opts)
	vim.fn.jobstart({"notify-send", msg })
end
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds function to notify the user like this:
`:lua vim.notify("hello user")`
embeds log levels vim.log.levels.

you can then reassign vim.notify to for instance
```
function notify_external(msg, log_level, opts)
	vim.fn.jobstart({"notify-send", msg })
end
```
</pre>
</div>
</content>
</entry>
<entry>
<title>logging: move to XDG_CACHE_HOME (#13739)</title>
<updated>2021-01-13T22:20:21+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-01-13T22:20:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ea8756f85ddd0aeed2e7eccd0ea86ade4fb7eca8'/>
<id>ea8756f85ddd0aeed2e7eccd0ea86ade4fb7eca8</id>
<content type='text'>
while there is some controversy, stdpath('cache') looks like  a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
while there is some controversy, stdpath('cache') looks like  a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.

</pre>
</div>
</content>
</entry>
</feed>
