Markdown and HTMX LSPs, just TS and some more aliases
parent
8f440709b2
commit
5548acb3f0
|
@ -9,6 +9,11 @@ return {
|
|||
local lspconfig = require("lspconfig")
|
||||
local capabilities = require("blink.cmp").get_lsp_capabilities()
|
||||
|
||||
-- Markdown
|
||||
lspconfig.marksman.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
-- Python
|
||||
lspconfig.pyright.setup({
|
||||
capabilities = capabilities,
|
||||
|
@ -49,10 +54,10 @@ return {
|
|||
})
|
||||
|
||||
-- HTMX
|
||||
-- lspconfig.htmx.setup({
|
||||
-- capabilities = capabilities,
|
||||
-- filetypes = { "html", "templ", "htmldjango" },
|
||||
-- })
|
||||
lspconfig.htmx.setup({
|
||||
capabilities = capabilities,
|
||||
filetypes = { "html", "templ", "htmldjango" },
|
||||
})
|
||||
|
||||
-- Lua
|
||||
local lua_rtp = vim.split(package.path, ";")
|
||||
|
|
|
@ -14,7 +14,7 @@ return {
|
|||
},
|
||||
})
|
||||
|
||||
vim.treesitter.language.register("html", "handlebars")
|
||||
vim.treesitter.language.register("html", { "handlebars", "htmldjango" })
|
||||
vim.treesitter.language.register("glsl", { "vsh", "fsh" })
|
||||
|
||||
configs.setup({
|
||||
|
@ -31,7 +31,7 @@ return {
|
|||
"yaml",
|
||||
"markdown",
|
||||
"dockerfile",
|
||||
-- "nu",
|
||||
"just",
|
||||
|
||||
-- vim
|
||||
"vim",
|
||||
|
|
2
.zshrc
2
.zshrc
|
@ -83,6 +83,7 @@ alias ll='eza -alh -F always --icons'
|
|||
alias grep='rg'
|
||||
alias nv='nvim'
|
||||
alias ff='fastfetch'
|
||||
alias tokei='tokei -s code'
|
||||
|
||||
# quick helpers
|
||||
alias uuid='printf "$(uuidgen)" | xclip -selection c'
|
||||
|
@ -128,6 +129,7 @@ function days_since() {(
|
|||
alias repos="~/.local/bin/repos.sh"
|
||||
alias reposn="~/.local/bin/reposn.sh"
|
||||
alias reposl="~/.local/bin/reposl.sh"
|
||||
alias repo5y="~/.local/bin/repo5y.sh"
|
||||
|
||||
# private SSH stuff
|
||||
source ~/.piwrc
|
||||
|
|
Loading…
Reference in New Issue