Skip to content

Instantly share code, notes, and snippets.

View TheBrown's full-sized avatar
🇦🇺

Saleumsack KEOBOUALAY TheBrown

🇦🇺
View GitHub Profile
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Font
:set guifont=Source\ Code\ Pro:h14
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Hide pointless junk at the bottom, doesn't work in .vimrc for some reason?
:set laststatus=0
:set noshowmode "don't show --INSERT--
:set noruler "don't show line numbers/column/% junk
const convertToLaoNumberString = (num, suffix) => {
"use strict";
if (typeof suffix === "undefined") {
suffix = "ຖ້ວນ";
}
num = num || 0;
num = num.toString().replace(/[, ]/g, ""); // remove commas, spaces