Alpine.js Language Features (Volar) extension for coc.nvim

Overview

[Experimental] coc-volar-alpinejs

fork from vscode-alpine-language-features

Alpine Language Features extension for coc.nvim

Note

@volar/alpine-language-server is a Language Server separated out of @volar/vue-language-server and currently not yet optimized for Alpine.js. (e.g. x- directive completion, etc. will not work)

Usage

[WARNING] This extension will not work with the default settings.

  1. To use it, add the "volar.alpine.enable: true" setting to your project's .vim/coc-settings.json. Project-level coc-settings.json can be quickly created by running the :CocLocalConfig command. Also, if coc-html is installed, add "html.enable": false.

.vim/coc-settings.json:

{
  "volar.alpine.enable": true,
  "html.enable": false
}
  1. Create jsconfig.json or tsconfig.json to your Alpine project, and than adding below content.

jsconfig.json/tsconfig.json:

{
	"compilerOptions": {
		"allowJs": true,
		"jsx": "preserve"
	},
	"include": [
		"PATH_TO_THE_HTML_FILES/**/*.html"
	]
}
  1. (Optional) Install @vue/runtime-dom to devDependencies for support html element typs.

"x-" directive completion

Install coc-html-css-support and run the html-css-support.customDataSetup command. @volar/alpine-language-server respects the settings in html.customData.

Thanks

License

MIT


This extension is built with create-coc-extension

You might also like...

Write "hello world" in your native language, code "hello world" in your favorite programming language!

Hello World, All languages! 🌎 📌 Write "hello world" in your native language, code "hello world" in your favorite language! #hacktoberfest2022 How to

Dec 13, 2022

Add focal point alignment of images to your Alpine 3.x components with a custom directive.

Alpine Focal Add focal point alignment of images to your Alpine 3.x components with a custom directive. This package only supports Alpine v3.x. About

Oct 12, 2021

Animate your Alpine components.

Animate your Alpine components 🚀 This package provides you with a simple helper to animate your ALpine.js components. Installation The recommended wa

Nov 16, 2022

⏱ Simple Alpine.js plugin to display the human-readable distance between a date and now.

⏱ Alpine TimeAgo ⏱ An Alpine.js plugin to return the distance between a given date and now in words (like "3 months ago", "about 2 hours ago" or "in a

Dec 22, 2022

Adds a handy $parent magic property to your Alpine components.

✨ Help support the maintenance of this package by sponsoring me. Alpine $parent Access parent components using a handy $parent magic variable. This pa

Aug 29, 2022

A clean integration between Cleave.js and Alpine. ✨

✨ Help support the maintenance of this package by sponsoring me. Alpine Mask This packages provide a custom x-mask directive and $mask magic variable,

Dec 26, 2022

↕️ A little Alpine.js plugin to automatically resize a textarea to fit its content.

↕️ Alpine Autosize ↕️ A little Alpine.js plugin to automatically resize a textarea to fit its content. 🚀 Installation CDN Include the following scri

Nov 5, 2022

A simple library for handling keyboard shortcuts with Alpine.js.

✨ Help support the maintenance of this package by sponsoring me. Alpine.js Mousetrap A simple library for handling keyboard shortcuts with Alpine.js.

Nov 14, 2022

IntelliSense for Alpine.js

IntelliSense for Alpine.js

IntelliSense for Alpine.js Features Provides syntax highlighting for Alpine.js directives along with autocomplete for all base directives and modifier

Nov 17, 2022
Owner
yaegassy
yaegassy
Solidity language server for coc.nvim

coc-solidity coc.nvim extension for solidity. Language server provided by solidity-ls. solidity-ls has no tolerance. Means that some features will onl

7c00 40 Dec 5, 2022
Marksman (Markdown LSP server) extension for coc.nvim

coc-marksman fork from a marksman-vscode Integrates Marksman language server into coc.nvim for delightful Markdown note taking experience. coc-marksma

yaegassy 17 Nov 18, 2022
Vitest for coc.nvim

coc-vitest Vitest for coc.nvim Install vim-plug: Plug 'yaegassy/coc-vitest', {'do': 'yarn install --frozen-lockfile'} CocInstall: Not supported at thi

yaegassy 8 Sep 4, 2022
Intelligent Tailwind CSS tooling for coc.nvim

coc-tailwindcss3 fork from a vscode-tailwindcss Intelligent Tailwind CSS tooling for coc.nvim. Motivation There are two coc.nvim extensions to "tailwi

yaegassy 110 Jan 1, 2023
Typos integration with coc.nvim

coc-typos Typos integration with coc.nvim. It checks typos with opened buffer automatically. Install Install typos by: cargo install typos-cli Make s

Neoclide 31 Aug 22, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
i18n-language.js is Simple i18n language with Vanilla Javascript

i18n-language.js i18n-language.js is Simple i18n language with Vanilla Javascript Write by Hyun SHIN Demo Page: http://i18n-language.s3-website.ap-nor

Shin Hyun 21 Jul 12, 2022
When a person that doesn't know how to create a programming language tries to create a programming language

Kochanowski Online Spróbuj Kochanowskiego bez konfiguracji projektu! https://mmusielik.xyz/projects/kochanowski Instalacja Stwórz nowy projekt przez n

Maciej Musielik 18 Dec 4, 2022