nvim
This commit is contained in:
parent
8a75135ad4
commit
4984e6caee
2 changed files with 4 additions and 1 deletions
1
home.nix
1
home.nix
|
@ -80,6 +80,7 @@
|
|||
pkgs.nodePackages.intelephense # PHP lsp
|
||||
pkgs.nodePackages.typescript-language-server
|
||||
pkgs.prettierd
|
||||
pkgs.eslint_d
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -87,13 +87,15 @@ local shellcheck = {
|
|||
|
||||
local servers = {
|
||||
efm = {
|
||||
filetypes = { "typescript", "typescriptreact", "sh", "php" },
|
||||
filetypes = { "javascript", "javascriptreact", "typescript", "typescriptreact", "sh", "php" },
|
||||
init_options = { documentFormatting = true },
|
||||
settings = {
|
||||
rootMarkers = { ".git/" },
|
||||
languages = {
|
||||
typescript = { prettier, eslint },
|
||||
typescriptreact = { prettier, eslint },
|
||||
javascript = { prettier, eslint },
|
||||
javascriptreact = { prettier, eslint },
|
||||
sh = { shellcheck },
|
||||
php = { prettier },
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue