prettierd still running after nvim's closed #315
-
Hi! Im using prettierd formatter for css files and But it still keeps running even after the neovim window's closed :( . How do i prevent this? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
This is normal behavior for |
Beta Was this translation helpful? Give feedback.
-
im using prettierd for css , i couldnt find any other css formatter in the builtin examples. How do i add a custom formatter? |
Beta Was this translation helpful? Give feedback.
-
Yikes, seems like it might be worth opening an issue on the local null_ls = require("null-ls")
local my_formatter = {
method = null_ls.methods.FORMATTING,
name = "my-formatter",
filetypes = {},
generator = null_ls.formatter({ command = "my-command", args = { "my-args" } }),
}
null_ls.register(my_formatter) |
Beta Was this translation helpful? Give feedback.
This is normal behavior for
prettierd
and other daemonized linters / formatters likeeslint_d
. You can manually stop it withprettierd stop
, but you'll lose the speed benefits the first time it runs (and its background resource usage is tiny).