astro files

This commit is contained in:
Ray Elliott 2022-09-20 19:06:37 +01:00
parent 6bd40aeeeb
commit 0eb551ebb2
4 changed files with 6 additions and 1 deletions

1
ftdetect/astro.vim Normal file
View File

@ -0,0 +1 @@
autocmd BufRead,BufEnter *.astro set filetype=astro

View File

@ -12,6 +12,7 @@ Plug 'simrat39/rust-tools.nvim'
" evaluating " evaluating
" https://github.com/wuelnerdotexe/vim-astro " https://github.com/wuelnerdotexe/vim-astro
" do i need this and https://github.com/virchau13/tree-sitter-astro ????
Plug 'wuelnerdotexe/vim-astro' Plug 'wuelnerdotexe/vim-astro'
" https://github.com/kevinhwang91/ " https://github.com/kevinhwang91/

View File

@ -418,6 +418,7 @@ augroup OnTerminalOpen
autocmd! autocmd!
autocmd TermOpen * setlocal nonumber norelativenumber autocmd TermOpen * setlocal nonumber norelativenumber
augroup END augroup END
" }}} " }}}
"----------------------------------------------------------------------------}}} "----------------------------------------------------------------------------}}}

View File

@ -11,7 +11,9 @@ local nvim_lsp = require('lspconfig')
-- Use a loop to conveniently call 'setup' on multiple servers and -- Use a loop to conveniently call 'setup' on multiple servers and
-- map buffer local keybindings when the language server attaches -- map buffer local keybindings when the language server attaches
local servers = { local servers = {
-- npm i -g bash-language-server -- astro
-- npm install -g @astrojs/language-server
'astro', -- npm i -g bash-language-server
-- no formatting support -- no formatting support
'bashls', -- npm i -g vscode-langservers-extracted 'bashls', -- npm i -g vscode-langservers-extracted
-- no formatting support -- no formatting support