volar added in neovim conf. added ssh config. updated README
This commit is contained in:
parent
e57565ada6
commit
d37f9da4f6
3 changed files with 24 additions and 2 deletions
|
|
@ -16,13 +16,30 @@ local config = function()
|
|||
|
||||
-- Enable some language servers with the additional
|
||||
-- completion capabilities offered by nvim-cmp
|
||||
local servers = { 'gopls', 'erlangls' }
|
||||
local servers = { 'gopls', 'erlangls', 'tsserver'}
|
||||
for _, lsp in ipairs(servers) do
|
||||
lspconfig[lsp].setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
end
|
||||
lspconfig.volar.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
filetypes = {
|
||||
'typescript',
|
||||
'javascript',
|
||||
'javascriptreact',
|
||||
'typescriptreact',
|
||||
'vue',
|
||||
'json'
|
||||
},
|
||||
init_options = {
|
||||
typescript = {
|
||||
tsdk = '/usr/lib/node_modules/typescript/lib'
|
||||
}
|
||||
}
|
||||
}
|
||||
local luasnip = require 'luasnip'
|
||||
local cmp = require 'cmp'
|
||||
cmp.setup {
|
||||
|
|
|
|||
4
.ssh/config
Normal file
4
.ssh/config
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
Host github.com-work
|
||||
HostName github.com
|
||||
User git
|
||||
IdentityFile ~/.ssh/id_ed25519-work
|
||||
|
|
@ -1,9 +1,10 @@
|
|||
### dev configuration for linux
|
||||
### configurations for terminal
|
||||
|
||||
- neovim (.config/nvim/\*)
|
||||
- git (.gitconfig ~/personal/.gitconfig)
|
||||
- tmux (.tmux.conf)
|
||||
- shell (.profile)
|
||||
- ssh (.ssh)
|
||||
|
||||
### neovim plugins
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue