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
" https://github.com/wuelnerdotexe/vim-astro
" do i need this and https://github.com/virchau13/tree-sitter-astro ????
Plug 'wuelnerdotexe/vim-astro'
" https://github.com/kevinhwang91/

View File

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

View File

@ -11,7 +11,9 @@ local nvim_lsp = require('lspconfig')
-- Use a loop to conveniently call 'setup' on multiple servers and
-- map buffer local keybindings when the language server attaches
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
'bashls', -- npm i -g vscode-langservers-extracted
-- no formatting support