Skip to content

Commit

Permalink
chore: Update 2024/03/20
Browse files Browse the repository at this point in the history
- Vue's configuration is conflicting with Typescript
- Use `;` for `noh`
  • Loading branch information
loctvl842 committed Mar 20, 2024
1 parent d98fe3e commit 4086de3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/beastvim/features/lsp/lang/vue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ return {
},
},
tsserver = {
autostart = true,
autostart = false,
root_dir = function()
return false
end,
Expand Down
2 changes: 1 addition & 1 deletion lua/beastvim/lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require("lazy").setup({
{ import = "beastvim.features.lsp.lang.markdown", enabled = true },
{ import = "beastvim.features.lsp.lang.typescript", enabled = true },
{ import = "beastvim.features.lsp.lang.flutter", enabled = true },
{ import = "beastvim.features.lsp.lang.vue", enabled = true },
{ import = "beastvim.features.lsp.lang.vue", enabled = false },
{ import = "beastvim.features.lsp.lang.go", enabled = true },
{ import = "beastvim.features.lsp.lang.docker", enabled = true },
},
Expand Down
2 changes: 1 addition & 1 deletion lua/beastvim/tweaks/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ map("v", "<A-S-j>", ":m '>+1<cr>gv=gv", { desc = "Move down" })
map("v", "<A-S-k>", ":m '<-2<cr>gv=gv", { desc = "Move up" })

-------------------- No highlight ------------------------------
map("n", "<ESC>", ":noh<CR>", { desc = "Clear search" })
map("n", ";", ":noh<CR>", { desc = "Clear search" })

-------------------- Inspect --------------------------------
map("n", "<F2>", "<cmd>Inspect<CR>", { desc = "Inspect highlight fallback" })
Expand Down

0 comments on commit 4086de3

Please sign in to comment.