Compare commits
2 commits
9abd5dde3f
...
dbde641e35
| Author | SHA1 | Date | |
|---|---|---|---|
| dbde641e35 | |||
| 4458a8755e |
4 changed files with 11 additions and 2 deletions
|
|
@ -164,6 +164,7 @@ vim.lsp.enable({
|
|||
"biome",
|
||||
"fish_lsp",
|
||||
"gleam",
|
||||
"gopls",
|
||||
"hyprls",
|
||||
"intelephense",
|
||||
"jsonls",
|
||||
|
|
|
|||
|
|
@ -62,6 +62,14 @@ return {
|
|||
config = function(_, opts)
|
||||
require("conform").setup(opts)
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "php" },
|
||||
callback = function(bufnr)
|
||||
vim.b[bufnr].disable_autoformat
|
||||
end,
|
||||
})
|
||||
end,
|
||||
|
||||
local function toggleAutoFormat()
|
||||
-- to make this global, change b to g
|
||||
if vim.b.disable_autoformat == nil then
|
||||
|
|
|
|||
|
|
@ -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" },
|
||||
pattern = { "gleam", "go" },
|
||||
callback = function()
|
||||
vim.treesitter.start()
|
||||
end,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
|||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export XCURSOR_SIZE=24
|
||||
export GTK_THEME=catppuccin-macchiato-teal-standard+default
|
||||
export GTK_THEME=catppuccin-macchiato-teal-standard-default
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/rbw/ssh-agent-socket
|
||||
|
||||
export EDITOR=nvim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue