diff --git a/.config/nvim/lsp/tsgo.lua b/.config/nvim/lsp/tsgo.lua index e51971d..aee1435 100644 --- a/.config/nvim/lsp/tsgo.lua +++ b/.config/nvim/lsp/tsgo.lua @@ -39,8 +39,7 @@ return { -- manager lock file. local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' } -- Give the root markers equal priority by wrapping them in a table - root_markers = vim.fn.has('nvim-0.11.3') == 1 and { root_markers, { '.git' } } - or vim.list_extend(root_markers, { '.git' }) + root_markers = vim.fn.has 'nvim-0.11.3' == 1 and { root_markers, { '.git' } } or vim.list_extend(root_markers, { '.git' }) -- exclude deno if vim.fs.root(bufnr, { 'deno.json', 'deno.jsonc', 'deno.lock' }) then diff --git a/.config/nvim/lsp/tsls.lua b/.config/nvim/lsp/tsls.lua index 1370585..09300e3 100644 --- a/.config/nvim/lsp/tsls.lua +++ b/.config/nvim/lsp/tsls.lua @@ -91,6 +91,7 @@ return { cmd = { 'typescript-language-server', '--stdio' }, filetypes = { 'astro', + 'vue', }, root_markers = { 'tsconfig.json', 'jsconfig.json', 'package.json', '.git' }, handlers = { diff --git a/.editorconfig b/.editorconfig index 9cf6a80..b7215c9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ root = true [*] -max_line_length = 120 +max_line_length = 80 diff --git a/.gitconfig b/.gitconfig deleted file mode 100644 index d9ced4b..0000000 --- a/.gitconfig +++ /dev/null @@ -1,5 +0,0 @@ -[user] - email = belsabbagh@gmail.com - name = Belal Elsabbagh -[core] - sshcommand = ssh -i /home/belal/.ssh/github_key