diff --git a/nvim/.config/nvim/fnl/dots/keybinds.fnl b/nvim/.config/nvim/fnl/dots/keybinds.fnl index 46c5fed..eba4f12 100644 --- a/nvim/.config/nvim/fnl/dots/keybinds.fnl +++ b/nvim/.config/nvim/fnl/dots/keybinds.fnl @@ -38,8 +38,8 @@ "h" (cmd "bprevious" "previous buffer") "l" (cmd "bnext" "next buffer") "o" (cmd "Telescope live_grep" "Grep files") - "p" (cmd "Telescope frecency" "Open file-browser") - ;"p" (cmd "Telescope find_files" "Open file-browser") + "P" (cmd "Telescope frecency frecency default_text=:CWD:" "Open file-browser") + "p" (cmd "Telescope find_files" "Open file-browser") ":" (cmd "Telescope commands" "Search command with fzf") "s" (cmd "w" "Save file") @@ -50,7 +50,7 @@ "o" (cmd "SymbolsOutline" "Outline") "S" (cmd "Telescope lsp_document_symbols" "Symbols in document") "s" (cmd "Telescope lsp_dynamic_workspace_symbols" "Symbols in workspace") - "t" (cmd "Lspsaga signature_help" "Show signature help") + "T" (cmd "Lspsaga signature_help" "Show signature help") "n" (cmd "Lspsaga rename" "Rename") "v" (cmd "Lspsaga code_action" "Apply codeaction") "A" (cmd "Lspsaga show_cursor_diagnostics" "Cursor diagnostics") @@ -59,6 +59,7 @@ "r" (cmd "Trouble lsp_references" "Show references") "E" (cmd "Trouble lsp_document_diagnostics" "List diagnostics") "e" (cmd "Trouble lsp_workspace_diagnostics" "Show diagnostics") + "t" [vim.lsp.buf.declaration "Go to declaration"] "g" [vim.lsp.buf.definition "Go to definition"] "i" [vim.lsp.buf.implementation "Show implementation"] "f" [format "format file"] diff --git a/nvim/.config/nvim/fnl/dots/plugins.fnl b/nvim/.config/nvim/fnl/dots/plugins.fnl index de154c2..cccb50f 100644 --- a/nvim/.config/nvim/fnl/dots/plugins.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins.fnl @@ -114,6 +114,7 @@ :sbdchd/neoformat {} + ;; -------------------- :AndrewRadev/splitjoin.vim {} @@ -166,7 +167,9 @@ :vmchale/ats-vim {:ft ["ats" "dats" "sats"]} :google/vim-jsonnet {} - :bakpakin/fennel.vim {}) + :bakpakin/fennel.vim {} + + :evanleck/vim-svelte {}) ; >>> diff --git a/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl b/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl index 9cff299..a767ccd 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl @@ -65,6 +65,7 @@ (init-lsp :erlangls) (init-lsp :yamlls) (init-lsp :html) +(init-lsp :svelte) ;(init-lsp :clangd) ;(init-lsp :ccls) (init-lsp :cssls {:filestypes ["css" "scss" "less" "stylus"] diff --git a/nvim/.config/nvim/fnl/dots/plugins/telescope.fnl b/nvim/.config/nvim/fnl/dots/plugins/telescope.fnl index f855bb4..fdb4889 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/telescope.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/telescope.fnl @@ -4,7 +4,9 @@ actions telescope.actions}}) (telescope.setup - {:defaults {:mappings {:i {: actions.close}}}}) + {:defaults {:mappings {:i {: actions.close}} + :file_ignore_patterns ["Cargo.lock" ".*.snap" "docs/theme/.*"]} + :extensions {:frecency {:persistent_filter false}}}) (telescope.load_extension "frecency")