Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add htmldjango (vim filetype) to languages #721

Merged
merged 1 commit into from
Mar 10, 2023
Merged

Conversation

nulty
Copy link
Contributor

@nulty nulty commented Mar 1, 2023

Description

Short version -

Vim and Neovim use filetypes to handle different files. For syntax, highlighting, and more.
Vim uses the filetype htmldjango for django templates.
The tailwindcss-language-server does not recognise htmldjango as a file language and so vim and neovim suffer as a result.

I would like to add htmldjango as a language upstream so individual configurations for lsp in the Vim world don't need to consider this issue.

Issue was raised in neovim/nvim-lspconfig repo. I think adding this line would be the most effective way to solve the issue.

I've built and tested this with neovim and it works.

@bradlc
Copy link
Contributor

bradlc commented Mar 10, 2023

Looks good to me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants