Skip to content

uga-rosa/utf8.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

utf8.nvim

The missing utf8 module for Neovim Lua.

The license for this library is CC0. Feel free to embed and use it.

It does not depend on Neovim, so it will work in environments where Luajit bit library are available.

Why?

Neovim Lua runtime is Luajit (equivalent to Lua 5.1), so it does not have some of the libraries that recent Lua has.

What is this?

This library provides basic support for UTF-8 encoding. It does not provide any support for Unicode other than the handling of the encoding.

(Citing the official reference manual)

Functions

Functions are roughly equivalent to those of the above reference manual, except that require() is required.

local utf8 = require("utf8")

Check doc for details.

About

The missing utf8 module for neovim Lua.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages