Skip to content

Commit

Permalink
some edits, still need to fix some things
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomashighbaugh committed Nov 13, 2023
1 parent 6f1543f commit 474d8a2
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 16 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Create issues from TODOs

on:
workflow_dispatch:
inputs:
importAll:
default: true
required: true
type: boolean
description: Enable, if you want to import all TODOs. Runs on checked out branch! Only use if you're sure what you are doing.
push:
branches: # do not set multiple branches, todos might be added and then get referenced by themselves in case of a merge
- main
- master

permissions:
issues: write
repository-projects: read
contents: read

jobs:
todos:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Run Issue Bot
uses: derjuulsn/todo-issue@main
with:
excludePattern: '^(node_modules/)'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 7 additions & 5 deletions lua/core/resources/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ return {
{ "Sk", "<cmd>Telescope keymaps<cr>", desc = "Keymaps" },
{ "SC", "<cmd>Telescope commands<cr>", desc = "Commands" },
{ "SH", "<cmd>Telescope highlights<cr>", desc = "Highlight Groups" },
{ "<leader>ld", "<cmd>Telescope lsp_document_diagnostics<cr>", "Document Diagnostics" },
{ "<leader>lw", "<cmd>Telescope lsp_workspace_diagnostics<cr>", "Workspace Diagnostics" },

-- Find
{ "<leader>f", Util.telescope("find_files"), desc = "Find files" },
{ "<leader>F", Util.telescope("live_grep"), desc = "Find Text" },
Expand Down Expand Up @@ -221,7 +220,6 @@ return {
["<leader>w"] = { "<cmd>w!<CR>", "Save" },
["<leader>h"] = { "<cmd>nohlsearch<CR>", "No Highlight" },
["<leader><Tab>"] = { "<c-6>", "Navigate previous buffer" },
["<leader>l"] = { name = "+LSP" },
["f"] = { name = "Fold" },
["g"] = { name = "Goto" },
["s"] = { name = "Search" },
Expand All @@ -230,12 +228,14 @@ return {
wk.register({
l = {
name = "+LSP",
d = { "<cmd>lua vim.diagnostic.get <cr>", "Document Diagnostics" },
w = { "<cmd>Telescope lsp_workspace_diagnostics<cr>", "Workspace Diagnostics" },
a = { "<cmd>lua vim.lsp.buf.code_action()<cr>", "Code Action" },
h = { "<cmd>vim.lsp.inlay_hint(0, nil)<cr>", "Toggle inlay hints" },
i = { "<cmd>LspInfo<cr>", "Info" },
I = { "<cmd>LspInstallInfo<cr>", "Installer Info" },
j = { "<cmd>lua vim.lsp.diagnostic.goto_next()<CR>", "Next Diagnostic" },
k = { "<cmd>lua vim.lsp.diagnostic.goto_prev()<cr>", "Prev Diagnostic" },
j = { "<cmd>lua vim.lsp.diagnostic.get_next()<CR>", "Next Diagnostic" },
k = { "<cmd>lua vim.lsp.diagnostic.get_prev()<cr>", "Prev Diagnostic" },
l = { "<cmd>lua vim.lsp.codelens.run()<cr>", "CodeLens Action" },
q = { "<cmd>lua vim.diagnostic.setloclist()<cr>", "Quickfix" },
r = { "<cmd>lua vim.lsp.buf.rename()<cr>", "Rename" },
Expand Down Expand Up @@ -477,4 +477,6 @@ return {
})
end,
},


}
2 changes: 2 additions & 0 deletions lua/core/resources/lang/typescript.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ return {
"jsx",
"rescript",
"xml",
"svg",
"php",
"markdown",
"glimmer",
Expand All @@ -150,6 +151,7 @@ return {
"jsx",
"rescript",
"xml",
"svg",
"php",
"markdown",
"glimmer",
Expand Down
5 changes: 2 additions & 3 deletions lua/core/resources/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ return {
"rcarriga/nvim-notify",
keys = {
{
"<leader>n",
"<leader>N",
function()
require("notify").dismiss({ silent = true, pending = true })
end,
Expand Down Expand Up @@ -182,7 +182,7 @@ return {
enabled = true,
-- lazy = true,
version = false, -- wait till new 0.7.0 release to put it back on semver
-- event = "BufReadPre",
event = "BufReadPre",
opts = {
symbol = "",
-- symbol = "│",
Expand Down Expand Up @@ -241,7 +241,6 @@ return {
shell = "/bin/sh",
autochdir = false,
float_opts = {
-- border = Util.generate_borderchars("thick", "tl-t-tr-r-bl-b-br-l"),
border = "single",
winblend = 3,
width = 85,
Expand Down
8 changes: 0 additions & 8 deletions lua/core/resources/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,9 @@ return {
-- Whether to show bundled cheatsheets

-- For generic cheatsheets like default, unicode, nerd-fonts, etc
-- bundled_cheatsheets = {
-- enabled = {},
-- disabled = {},
-- },
bundled_cheatsheets = true,

-- For plugin specific cheatsheets
-- bundled_plugin_cheatsheets = {
-- enabled = {},
-- disabled = {},
-- }
bundled_plugin_cheatsheets = true,

-- For bundled plugin cheatsheets, do not show a sheet if you
Expand Down

0 comments on commit 474d8a2

Please sign in to comment.