[[nvim-lspconfig]]の設定で以下を追加する。
```lua
{
"neovim/nvim-lspconfig",
...
config = function()
...
local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, { text = icon, texthl = hl })
end
```
## 参考
- [Unable to use emojis as diagnostic signs · Issue \#2040 · neovim/nvim\-lspconfig](https://github.com/neovim/nvim-lspconfig/issues/2040)