mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-29 15:04:36 +02:00
Updated 7. Contoh Custom Plugins (markdown)
parent
0080be7898
commit
6bce491f22
1 changed files with 17 additions and 0 deletions
|
@ -876,6 +876,23 @@ return {
|
|||
end,
|
||||
}
|
||||
```
|
||||
- add null-ls config lua/custom/null-ls.lua
|
||||
```lua
|
||||
local null_ls = require("null-ls")
|
||||
local formatting = null_ls.builtins.formatting
|
||||
local diagnostics = null_ls.builtins.diagnostics
|
||||
local m = {
|
||||
sources = {
|
||||
formatting.clang_format.with({
|
||||
filetypes = {
|
||||
"cpp",
|
||||
"c",
|
||||
},
|
||||
}),
|
||||
},
|
||||
}
|
||||
return m
|
||||
```
|
||||
sumber : <br>
|
||||
https://github.com/p00f/clangd_extensions.nvim
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue