initialize typescript and typescriptreact files for formating
This commit is contained in:
parent
ccf7f95669
commit
b3aff0982c
5
init.lua
5
init.lua
|
|
@ -698,10 +698,13 @@ require('lazy').setup({
|
||||||
--
|
--
|
||||||
-- You can use 'stop_after_first' to run the first available formatter from the list
|
-- You can use 'stop_after_first' to run the first available formatter from the list
|
||||||
javascript = { 'prettierd', 'prettier', stop_after_first = true },
|
javascript = { 'prettierd', 'prettier', stop_after_first = true },
|
||||||
|
typescript = { 'prettierd', 'prettier', stop_after_first = true },
|
||||||
|
typescriptreact = { 'prettierd', 'prettier', stop_after_first = true },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
--FIX: typescript-lsp: This is not working for typescript
|
||||||
{ -- Autocompletion
|
{ -- Autocompletion
|
||||||
'saghen/blink.cmp',
|
'saghen/blink.cmp',
|
||||||
event = 'VimEnter',
|
event = 'VimEnter',
|
||||||
|
|
@ -796,9 +799,9 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- THEMES
|
||||||
{ 'catppuccin/nvim', name = 'catppuccin', priority = 1000 },
|
{ 'catppuccin/nvim', name = 'catppuccin', priority = 1000 },
|
||||||
{ 'rose-pine/neovim', name = 'rose-pine', priority = 1000 },
|
{ 'rose-pine/neovim', name = 'rose-pine', priority = 1000 },
|
||||||
|
|
||||||
{ -- You can easily change to a different colorscheme.
|
{ -- You can easily change to a different colorscheme.
|
||||||
-- Change the name of the colorscheme plugin below, and then
|
-- Change the name of the colorscheme plugin below, and then
|
||||||
-- change the command in the config to whatever the name of that colorscheme is.
|
-- change the command in the config to whatever the name of that colorscheme is.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue