chore: neovim updates
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
"flash.nvim": { "branch": "develop", "commit": "045457978f3fb7df03efa2023dbc8a5f6e9179bd" },
|
"flash.nvim": { "branch": "develop", "commit": "045457978f3fb7df03efa2023dbc8a5f6e9179bd" },
|
||||||
"formatter.nvim": { "branch": "master", "commit": "b9d7f853da1197b83b8edb4cc4952f7ad3a42e41" },
|
"formatter.nvim": { "branch": "master", "commit": "b9d7f853da1197b83b8edb4cc4952f7ad3a42e41" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||||
|
"lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
|
||||||
"markview.nvim": { "branch": "main", "commit": "d5d37102d24c3d5d032b01263855081b6850509b" },
|
"markview.nvim": { "branch": "main", "commit": "d5d37102d24c3d5d032b01263855081b6850509b" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
|
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
|
||||||
|
|||||||
5
.config/nvim/lsp/ts_ls.lua
Normal file
5
.config/nvim/lsp/ts_ls.lua
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
return {
|
||||||
|
cmd = { 'typescript-language-server', '--stdio' },
|
||||||
|
filetypes = { 'typescript', 'javascript' },
|
||||||
|
root_markers = { 'package.json', 'tsconfig.json' },
|
||||||
|
}
|
||||||
@@ -4,9 +4,14 @@ return {
|
|||||||
event = 'VeryLazy',
|
event = 'VeryLazy',
|
||||||
build = ':Cord update',
|
build = ':Cord update',
|
||||||
opts = {},
|
opts = {},
|
||||||
|
cond = vim.env.CORDLESS ~= 'true',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'tpope/vim-fugitive',
|
'tpope/vim-fugitive',
|
||||||
cmd = { 'Git' },
|
cmd = { 'Git' },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
dir = '~/dev/share.nvim/',
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ local function formatter(exe, args)
|
|||||||
table.insert(argv, val)
|
table.insert(argv, val)
|
||||||
end
|
end
|
||||||
|
|
||||||
if not args.path == false then
|
if args.path ~= false then
|
||||||
table.insert(argv, vim.fn.shellescape(vim.api.nvim_buf_get_name(0)))
|
table.insert(argv, vim.fn.shellescape(vim.api.nvim_buf_get_name(0)))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ return {
|
|||||||
'mason-org/mason-lspconfig.nvim',
|
'mason-org/mason-lspconfig.nvim',
|
||||||
version = '1.*',
|
version = '1.*',
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = { 'lua_ls', 'rust_analyzer' },
|
ensure_installed = { 'rust_analyzer' },
|
||||||
},
|
},
|
||||||
config = function(lazy)
|
config = function(lazy)
|
||||||
local mason_lspconfig = require('mason-lspconfig')
|
local mason_lspconfig = require('mason-lspconfig')
|
||||||
@@ -21,7 +21,6 @@ return {
|
|||||||
'mason-org/mason.nvim',
|
'mason-org/mason.nvim',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
'Saghen/blink.cmp',
|
'Saghen/blink.cmp',
|
||||||
dependencies = { common.icons },
|
dependencies = { common.icons },
|
||||||
|
|||||||
Reference in New Issue
Block a user