Add a new repos for goodies? #66
Replies: 11 comments 3 replies
-
Yes, I think that features that few people are going to use can be included in other plugins in the organization. Is the screenshot from an R file? If yes, how did the SQL string get highlighted? |
Beta Was this translation helpful? Give feedback.
-
yes from an R file. I am using treesitter injection for syntax coloration :) |
Beta Was this translation helpful? Give feedback.
-
Maybe the syntax highlight could be added as an optional option in the config. |
Beta Was this translation helpful? Give feedback.
-
I don't run SQL from R, but I know it's important for people working with big data. Both the highlighting and the formatting are very nice. Perhaps you could include both in |
Beta Was this translation helpful? Give feedback.
-
Ok cool I will work on that. I have started to use duckdb in R a lot recently, and it is fantastic! |
Beta Was this translation helpful? Give feedback.
-
I see general support for SQL and Python integration with R is appropriate for |
Beta Was this translation helpful? Give feedback.
-
I agree. It would be easier to stop maintaining deprecated package. How do you think support for |
Beta Was this translation helpful? Give feedback.
-
The support for completing columns of piped library(tidyverse)
mtcars |>
filter(hp < 120 &
mpg > 20) |>
mutate(kml = mpg / 2.3521458) I'm not sure if |
Beta Was this translation helpful? Give feedback.
-
While I agree that
I do not think it is a good idea for That said, smart autocompletion about columns of the table for popular table package would be nice. :) But, like already mentioned, this can be hard to get right since you need to evaluate the code to correctly know which columns are still present in an evaluation. Which for large datasets would make the editor slow to respond. Or maybe I am missing here some technical implementation that that could get this to work efficiently. |
Beta Was this translation helpful? Give feedback.
-
Any interest in this: |
Beta Was this translation helpful? Give feedback.
-
Yes, it's interesting! It's the kind of feature we expect to find in a language server. |
Beta Was this translation helpful? Give feedback.
-
Over the time I have made some function that might be nice to add but are not required for R.nvim to work.
For example, I have a helper function that will format SQL queries:
Do you think such thing could be part of an optional plugin?
Beta Was this translation helpful? Give feedback.
All reactions