Skip to main content
Back to Extensions Directory
coc.nvim fallback icon

coc-smarty

shadowwa

Smarty extension for coc.nvim

Installation CommandVim prompt
:CocInstall coc-smarty
GitHub owner
shadowwa
Version
v1.2.0
npm package
coc-smarty
Requirements
coc ^0.0.80
License
MIT
Repository
GitHub
npm latest published 2025-03-20Registry checked 2026-10-04Registry summary

Published Package Summary

coc-smarty

Smarty language server extension for coc.nvim.

Code changed from:

Install

In your vim/neovim, run command:

:CocInstall coc-smarty

Features

  • Completion provider (smarty & html)
  • Formatting
  • Document Symbols & Highlights
  • Document Links
  • CSS mode
  • Javascript mode

F.A.Q

Q: I can't select the complete item by <C-n> and <C-p>

A: Some completion item requires insert position after current cursor position which is invalid for <C-n> and <C-p> on vim, you can use <up> and <down> key for selection, or use api coc#_select_confirm() to select and confirm selection which is recommended.

Additional useful plugins

License

MIT

Read the complete README
  • Smarty extension for coc.nvim
Activation Events
  • *
Developer Resources

Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.

Open Developer Guide

Version History

Published with coc-smarty@1.2.0 as history.md.

Open source file

History

1.2.0

  • update tags and attributes for Smarty 5

1.1.0

  • use phpdoc as documentation for completionSuggestions

1.0.2

  • npm packaging from github actions

1.0.0

  • based on coc-html 1.8.0 and vscode-smarty 1.0.17