Skip to content

Commit

Permalink
fix: self explainatory changes
Browse files Browse the repository at this point in the history
ignoring missing fields and telescope ui changes
  • Loading branch information
RazoBeckett committed Apr 9, 2024
1 parent 9eb7061 commit 5ab7cc6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions lua/plugins/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ return {
experimental = {
ghost_text = true,
},
---@diagnostic disable-next-line: missing-fields
formatting = {
format = require("lspkind").cmp_format({
maxwidth = 50,
Expand Down
1 change: 1 addition & 0 deletions lua/plugins/debugging.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---@diagnostic disable: missing-fields
return {
"mfussenegger/nvim-dap",
dependencies = {
Expand Down
7 changes: 4 additions & 3 deletions lua/plugins/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ return {
["<C-q>"] = actions.send_selected_to_qflist + actions.open_qflist,
},
},
preview = false,
preview = true,
prompt_prefix = " 󰈞 ",
layout_strategy = "horizontal",
sorting_strategy = "ascending",
layout_config = {
prompt_position = "top",
height = 0.6,
width = 0.4,
preview_width = 0.6,
height = 0.7,
width = 0.7,
},
},
extensions = {
Expand Down
2 changes: 2 additions & 0 deletions lua/razobeckett/vim-keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ vim.g.netrw_liststyle = 3 -- netrw list style
-- keympas
local k = vim.keymap.set

k("n", "H", "^", { silent = true, desc = "Go to BOL" })
k("n", "L", "$", { silent = true, desc = "Go to EOL" })
k("i", "jk", "<Esc>", { silent = true, desc = "jk to escape" })
k("n", "<Esc>", "<cmd>nohlsearch<CR>", { desc = "Clear highlights" })
k("n", "<leader><F5>", "<cmd>!python %<CR>", { silent = true, desc = "Run Python" })
Expand Down
2 changes: 1 addition & 1 deletion lua/razobeckett/vim-options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local options = {
fileencoding = "utf-8",
-- show invisible characters
list = true,
listchars = { tab = "» ", trail = "·", nbsp = "" },
listchars = { tab = "» ", trail = "·", nbsp = "", eol = "" },
-- line numbers
number = true,
relativenumber = true,
Expand Down

0 comments on commit 5ab7cc6

Please sign in to comment.