Compare commits
2 Commits
b299ed09e2
...
f03fd6e148
Author | SHA1 | Date | |
---|---|---|---|
f03fd6e148 | |||
8d77e6d7e3 |
@ -15,6 +15,7 @@ Just clone this repo into `~/.config/nvim` and launch neovim.
|
|||||||
- Rust
|
- Rust
|
||||||
- C/C++
|
- C/C++
|
||||||
- Lua
|
- Lua
|
||||||
|
- JavaScript/TypeScript 🤮
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ return {
|
|||||||
{ "antosha417/nvim-lsp-file-operations", config = true },
|
{ "antosha417/nvim-lsp-file-operations", config = true },
|
||||||
"hrsh7th/vim-vsnip",
|
"hrsh7th/vim-vsnip",
|
||||||
"hrsh7th/vim-vsnip-integ",
|
"hrsh7th/vim-vsnip-integ",
|
||||||
|
"dmmulroy/tsc.nvim",
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
-- https://github.com/folke/lazydev.nvim
|
-- https://github.com/folke/lazydev.nvim
|
||||||
@ -24,6 +25,9 @@ return {
|
|||||||
|
|
||||||
local opts = { noremap = true, silent = true }
|
local opts = { noremap = true, silent = true }
|
||||||
|
|
||||||
|
-- tsc: typescript compiler for full project typechecking
|
||||||
|
require("tsc").setup()
|
||||||
|
|
||||||
-- configure dart server (with special settings)
|
-- configure dart server (with special settings)
|
||||||
--[[
|
--[[
|
||||||
lspconfig["dartls"].setup({
|
lspconfig["dartls"].setup({
|
||||||
@ -158,5 +162,11 @@ return {
|
|||||||
},
|
},
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
})
|
})
|
||||||
|
require("lspconfig")["ts_ls"].setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
})
|
||||||
|
require("lspconfig")["eslint"].setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user