You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After enabling the language features, you can open the hover documentation
101
105
for R, python and julia code chunks with `K` (or configure a different shortcut).
102
106
107
+
### Autocompletion
108
+
109
+
`quarto-nvim` now comes with a completion source for [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) to deliver swift autocompletion for code in quarto code chunks.
110
+
With the quarto language features enabled, you can add the source in your `cmp` configuration:
111
+
112
+
```lua
113
+
-- ...
114
+
sources= {
115
+
{ name='quarto' },
116
+
}
117
+
-- ...
118
+
```
119
+
120
+
Limitation: Currently this only works for one of the languages in a multi-language document. I am on it!
121
+
122
+
### R diagnostics configuration
123
+
103
124
To make diagnostics work with R you have to configure the linter a bit, since the language
104
125
buffers in the background separate code with blank links, which we want to ignore.
105
126
Otherwise you get a lot more diagnostics than you probably want.
0 commit comments