Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: panvimdoc

on:
push:
branches:
- main
paths:
- 'DOCUMENTATION.md'
workflow_dispatch:

jobs:
docs:
runs-on: ubuntu-latest
name: panvimdoc
steps:
- uses: actions/checkout@v4
- name: panvimdoc
uses: kdheepak/panvimdoc@main
with:
vimdoc: swift.nvim
version: "Neovim >= 0.9.0"
demojify: true
treesitter: true
pandoc: "DOCUMENTATION.md"
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(docs): auto-generate vimdoc"
branch: ${{ github.head_ref }}
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lua/swift/features/build_runner.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local M = {}

local utils = require("swift.utils")
local utils = require("swift.core.utils")
local config = {}

-- Build output buffer
Expand Down
2 changes: 1 addition & 1 deletion lua/swift/features/debugger.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local M = {}

local utils = require("swift.utils")
local utils = require("swift.core.utils")
local config = {}

-- State
Expand Down
2 changes: 1 addition & 1 deletion lua/swift/features/formatter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function M.find_config_file(formatter_type)
return config.config_file
end

local utils = require("swift.utils")
local utils = require("swift.core.utils")

if formatter_type == M.FormatterType.SWIFT_FORMAT then
-- Look for .swift-format
Expand Down
2 changes: 1 addition & 1 deletion lua/swift/features/init.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local M = {}

local config = require("swift.config")
local config = require("swift.core.config")

function M.load()
-- Load project_detector if enabled
Expand Down
2 changes: 1 addition & 1 deletion lua/swift/features/linter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function M.find_config_file()
return config.config_file
end

local utils = require("swift.utils")
local utils = require("swift.core.utils")

-- Look for .swiftlint.yml or .swiftlint.yaml
local yml = utils.find_file_upwards(".swiftlint.yml")
Expand Down
2 changes: 1 addition & 1 deletion lua/swift/features/project_detector.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local M = {}

local utils = require("swift.utils")
local utils = require("swift.core.utils")
local config = {}

-- Cache for detected projects
Expand Down
2 changes: 1 addition & 1 deletion lua/swift/features/snippets.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local M = {}

local config = require("swift.config")
local config = require("swift.core.config")

-- Check if LuaSnip is available
function M.is_luasnip_available()
Expand Down
4 changes: 2 additions & 2 deletions lua/swift/features/target_manager.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local M = {}

local utils = require("swift.utils")
local config = require("swift.config")
local utils = require("swift.core.utils")
local config = require("swift.core.config")

-- Cache for targets
M._cache = {
Expand Down
2 changes: 1 addition & 1 deletion lua/swift/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function M.check()
end

-- Check configuration
local config = require("swift.config")
local config = require("swift.core.config")
if config.get() then
health.ok("Configuration loaded")
else
Expand Down
2 changes: 1 addition & 1 deletion lua/swift/init.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local M = {}

local config = require("swift.config")
local config = require("swift.core.config")

function M.setup(opts)
opts = opts or {}
Expand Down
2 changes: 1 addition & 1 deletion lua/swift/version_validator.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local M = {}

local utils = require("swift.utils")
local utils = require("swift.core.utils")

-- Parse version string to table {major, minor, patch}
function M.parse_version(version_string)
Expand Down
Loading