Add Plugins #411
Answered
by
nicolkrit999
SamFighter
asked this question in
Q&A
Add Plugins
#411
-
|
Hello ! I'm so sorry ! thanks ! |
Beta Was this translation helpful? Give feedback.
Answered by
nicolkrit999
Oct 12, 2025
Replies: 1 comment 1 reply
-
|
Generally you:
where the majority of the code is taken from the repo guide. while "ft" specify the filetype. This means this plugin is enabled and loaded only when a java file os opened. the second line is the repo creator and name
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SamFighter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generally you:
add a sample, for example to add nvim-java you would write
{ "nvim-java/nvim-java", ft = "java", config = function() require("java").setup {} require("lspconfig").jdtls.setup {} end, },where the majority of the code is taken from the repo guide. while "ft" specify the filetype. This means this plugin is enabled and loaded only when a java file os opened. the second line is the repo creator and name