minor updatre
This commit is contained in:
parent
3129cc7bee
commit
5096e5eb5b
7 changed files with 12 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ opt.ignorecase = true -- Ignore case
|
|||
opt.inccommand = 'split' -- Preview substitutions live, as you type!
|
||||
opt.mouse = "a" -- Enable mouse mode
|
||||
opt.nrformats = 'blank,bin,hex'
|
||||
opt.number = true -- Print line number
|
||||
opt.number = true -- Print line number
|
||||
opt.pumblend = 10 -- Popup blend
|
||||
opt.pumheight = 10 -- Maximum number of entries in a popup
|
||||
-- opt.relativenumber = true -- Relative line numbers
|
||||
|
|
@ -168,6 +168,7 @@ vim.lsp.enable({
|
|||
"hyprls",
|
||||
"intelephense",
|
||||
"jsonls",
|
||||
"kotlin_lsp",
|
||||
"lua_ls",
|
||||
"nushell",
|
||||
"pyright",
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ return {
|
|||
css = { "biome" },
|
||||
go = { "gofumpt", "goimports_reviser", "golines" },
|
||||
html = { "djlint", "prettierd", stop_after_first = true },
|
||||
kotlin = { "ktlint" },
|
||||
htmldjango = { "djlint", stop_after_first = true },
|
||||
javascript = { "biome" },
|
||||
javascriptreact = { "biome" },
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ return {
|
|||
|
||||
lint.linters_by_ft = {
|
||||
-- astro = { "eslint_d" },
|
||||
kotlin = { "ktlint" },
|
||||
python = { "ruff" },
|
||||
sh = { "shellcheck" },
|
||||
NeogitCommitMessage = { "gitlint" },
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ return {
|
|||
init = function()
|
||||
-- HACK: for filetypes that doesn't start treesitter hightlight on it's own
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "gleam", "go" },
|
||||
pattern = { "gleam", "go", "kotlin" },
|
||||
callback = function()
|
||||
vim.treesitter.start()
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue