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

runtime(arduino): Add Arduino ftplugin and indent files #14811

Merged
merged 1 commit into from
May 20, 2024

Conversation

k-takata
Copy link
Member

We already have Arduino syntax file, but we didn't have ftplugin and indent files.

This commit adds a basic ftplugin file and a basic indent file.
Both of them are derived from {ftplugin,indent}/c.vim.

@k-takata
Copy link
Member Author

TODO:

Arduino IDE uses the following style for function definition:

void functionname(void) {
    ...
}

Vim's function motions like [[ and ]] don't work with this style. This should be supported in the future.

We already have Arduino syntax file, but we didn't have ftplugin and
indent files.

This commit adds a basic ftplugin file and a basic indent file.
Both of them are derived from {ftplugin,indent}/c.vim.
@chrisbra
Copy link
Member

Thanks!

@chrisbra chrisbra merged commit 957d903 into vim:master May 20, 2024
34 of 35 checks passed
clason added a commit to clason/neovim that referenced this pull request May 20, 2024
runtime(arduino): Add Arduino ftplugin and indent files (vim/vim#14811)

We already have Arduino syntax file, but we didn't have ftplugin and
indent files.

This commit adds a basic ftplugin file and a basic indent file.
Both of them are derived from {ftplugin,indent}/c.vim.

vim/vim@957d903

Co-authored-by: K.Takata <kentkt@csc.jp>
clason added a commit to neovim/neovim that referenced this pull request May 20, 2024
runtime(arduino): Add Arduino ftplugin and indent files (vim/vim#14811)

We already have Arduino syntax file, but we didn't have ftplugin and
indent files.

This commit adds a basic ftplugin file and a basic indent file.
Both of them are derived from {ftplugin,indent}/c.vim.

vim/vim@957d903

Co-authored-by: K.Takata <kentkt@csc.jp>
@k-takata k-takata deleted the add-arduino branch May 20, 2024 12:59
huangyingw pushed a commit to huangyingw/neovim that referenced this pull request May 31, 2024
runtime(arduino): Add Arduino ftplugin and indent files (vim/vim#14811)

We already have Arduino syntax file, but we didn't have ftplugin and
indent files.

This commit adds a basic ftplugin file and a basic indent file.
Both of them are derived from {ftplugin,indent}/c.vim.

vim/vim@957d903

Co-authored-by: K.Takata <kentkt@csc.jp>
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